diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-23 12:13:32 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-23 12:13:32 +0000 |
commit | 34a1f2f580f5fd28de16abebbe80cbba274f30ad (patch) | |
tree | ef7e4bbef1d219ab2dbc4ca11b317d63daaf29b6 | |
parent | 7f7c62a09b2b62c751c666e262be7050efe5ac85 (diff) | |
download | chromium_src-34a1f2f580f5fd28de16abebbe80cbba274f30ad.zip chromium_src-34a1f2f580f5fd28de16abebbe80cbba274f30ad.tar.gz chromium_src-34a1f2f580f5fd28de16abebbe80cbba274f30ad.tar.bz2 |
Coverity issue 9320: Uninitialized member in file_watcher_inotify.cc
BUG=None (Coverity issue id listed above)
TEST=None
Review URL: http://codereview.chromium.org/3063004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53463 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/file_watcher_inotify.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/file_watcher_inotify.cc b/chrome/browser/file_watcher_inotify.cc index 4026964..0fc2532 100644 --- a/chrome/browser/file_watcher_inotify.cc +++ b/chrome/browser/file_watcher_inotify.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -276,7 +276,8 @@ void InotifyReader::OnInotifyEvent(const inotify_event* event) { } FileWatcherImpl::FileWatcherImpl() - : watch_(InotifyReader::kInvalidWatch) { + : delegate_(NULL), + watch_(InotifyReader::kInvalidWatch) { } FileWatcherImpl::~FileWatcherImpl() { |