diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-03 23:15:56 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-03 23:15:56 +0000 |
commit | 39bde559caea5a9ceb8292c9162f7f960e474902 (patch) | |
tree | a80785b2e52148f840be0033b707e8b259523cd7 /chrome | |
parent | 974ebd6a315608d44b0e2ad4ce2bf6f38b8c63d0 (diff) | |
download | chromium_src-39bde559caea5a9ceb8292c9162f7f960e474902.zip chromium_src-39bde559caea5a9ceb8292c9162f7f960e474902.tar.gz chromium_src-39bde559caea5a9ceb8292c9162f7f960e474902.tar.bz2 |
Fix a warning from GCC about uninitialized variables.
Review URL: http://codereview.chromium.org/160545
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22339 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/views/download_item_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/download_item_view.cc b/chrome/browser/views/download_item_view.cc index 3e9d642..760585d 100644 --- a/chrome/browser/views/download_item_view.cc +++ b/chrome/browser/views/download_item_view.cc @@ -444,7 +444,7 @@ void DownloadItemView::ButtonPressed(views::Button* sender) { // Load an icon for the file type we're downloading, and animate any in progress // download state. void DownloadItemView::Paint(gfx::Canvas* canvas) { - BodyImageSet* body_image_set; + BodyImageSet* body_image_set = NULL; switch (body_state_) { case NORMAL: case HOT: @@ -459,7 +459,7 @@ void DownloadItemView::Paint(gfx::Canvas* canvas) { default: NOTREACHED(); } - DropDownImageSet* drop_down_image_set; + DropDownImageSet* drop_down_image_set = NULL; switch (drop_down_state_) { case NORMAL: case HOT: |