summaryrefslogtreecommitdiffstats
path: root/base/string_tokenizer.h
diff options
context:
space:
mode:
authorscr@chromium.org <scr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-27 17:23:28 +0000
committerscr@chromium.org <scr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-27 17:23:28 +0000
commitd1d18174fc270d9a681b9d718b7ae07fcd33b720 (patch)
treec0d5254ae3b0cfb680837e5663d9256e5652a6ff /base/string_tokenizer.h
parent2e1101f030285d73640c7205a21d1da243517a3d (diff)
downloadchromium_src-d1d18174fc270d9a681b9d718b7ae07fcd33b720.zip
chromium_src-d1d18174fc270d9a681b9d718b7ae07fcd33b720.tar.gz
chromium_src-d1d18174fc270d9a681b9d718b7ae07fcd33b720.tar.bz2
Coverity Fixlet: UNINIT_CTOR
CID=5172 BUG= TEST= Review URL: http://codereview.chromium.org/7219008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90598 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/string_tokenizer.h')
-rw-r--r--base/string_tokenizer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/string_tokenizer.h b/base/string_tokenizer.h
index a274fd1..ce5fc87 100644
--- a/base/string_tokenizer.h
+++ b/base/string_tokenizer.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -217,7 +217,7 @@ class StringTokenizerT {
bool in_quote;
bool in_escape;
char_type quote_char;
- AdvanceState() : in_quote(false), in_escape(false) {}
+ AdvanceState() : in_quote(false), in_escape(false), quote_char('\0') {}
};
// Returns true if a delimiter was not hit.