diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-29 18:13:05 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-29 18:13:05 +0000 |
commit | 0df393b0dabb7f11cd37067113d91ae5b1b23f67 (patch) | |
tree | 1a735566652b09843b4eb8c63d82305de91cef28 /base | |
parent | 1334648b178aacb741962e1be48e1457064ad3f5 (diff) | |
download | chromium_src-0df393b0dabb7f11cd37067113d91ae5b1b23f67.zip chromium_src-0df393b0dabb7f11cd37067113d91ae5b1b23f67.tar.gz chromium_src-0df393b0dabb7f11cd37067113d91ae5b1b23f67.tar.bz2 |
Coverity: Initialize delegate_.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/150029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19504 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/directory_watcher_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/directory_watcher_win.cc b/base/directory_watcher_win.cc index b6eb9ab..d97fca4c 100644 --- a/base/directory_watcher_win.cc +++ b/base/directory_watcher_win.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2009 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. @@ -14,7 +14,7 @@ namespace { class DirectoryWatcherImpl : public DirectoryWatcher::PlatformDelegate, public base::ObjectWatcher::Delegate { public: - DirectoryWatcherImpl() : handle_(INVALID_HANDLE_VALUE) {} + DirectoryWatcherImpl() : delegate_(NULL), handle_(INVALID_HANDLE_VALUE) {} virtual ~DirectoryWatcherImpl(); virtual bool Watch(const FilePath& path, DirectoryWatcher::Delegate* delegate, |