Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1483)

Unified Diff: chrome/browser/media_gallery/media_gallery_registry.cc

Issue 10703108: Coverity: Initialize member variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/views/location_bar/zoom_bubble_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media_gallery/media_gallery_registry.cc
diff --git a/chrome/browser/media_gallery/media_gallery_registry.cc b/chrome/browser/media_gallery/media_gallery_registry.cc
index 4c99d104a8f7cce3f803d455d58c7f85ff3ea743..c9d01da484e4cb3348137a215483576e7456f0f5 100644
--- a/chrome/browser/media_gallery/media_gallery_registry.cc
+++ b/chrome/browser/media_gallery/media_gallery_registry.cc
@@ -58,7 +58,7 @@ DictionaryValue* CreateGalleryDictionary(const MediaGallery& gallery) {
} // namespace
-MediaGallery::MediaGallery() {}
+MediaGallery::MediaGallery() : id(0) {}
MediaGallery::~MediaGallery() {}
MediaGalleryRegistry::MediaGalleryRegistry(Profile* profile)
« no previous file with comments | « no previous file | chrome/browser/ui/views/location_bar/zoom_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698