summaryrefslogtreecommitdiffstats
path: root/app/clipboard
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-23 09:04:05 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-23 09:04:05 +0000
commitb3fbfaad0573992ed5224437e6fe24b1587c96bf (patch)
tree0303db7a967989430f1af9f41e78724540fefe36 /app/clipboard
parent23d313723293685547096e5cc5d23cb2c7e140d5 (diff)
downloadchromium_src-b3fbfaad0573992ed5224437e6fe24b1587c96bf.zip
chromium_src-b3fbfaad0573992ed5224437e6fe24b1587c96bf.tar.gz
chromium_src-b3fbfaad0573992ed5224437e6fe24b1587c96bf.tar.bz2
Coverity 9291: Uninitialized member in clipboard_linux.cc
BUG=None TEST=None Review URL: http://codereview.chromium.org/3008020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53450 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/clipboard')
-rw-r--r--app/clipboard/clipboard_linux.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/clipboard/clipboard_linux.cc b/app/clipboard/clipboard_linux.cc
index 8a4a673..708e303 100644
--- a/app/clipboard/clipboard_linux.cc
+++ b/app/clipboard/clipboard_linux.cc
@@ -95,7 +95,7 @@ void GdkPixbufFree(guchar* pixels, gpointer data) {
} // namespace
-Clipboard::Clipboard() {
+Clipboard::Clipboard() : clipboard_data_(NULL) {
clipboard_ = gtk_clipboard_get(GDK_SELECTION_CLIPBOARD);
primary_selection_ = gtk_clipboard_get(GDK_SELECTION_PRIMARY);
}