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

Unified Diff: base/string_tokenizer.h

Issue 7219008: Coverity Fixlet: UNINIT_CTOR (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert trace_event changes (CID=16864) Created 9 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/string_tokenizer.h
diff --git a/base/string_tokenizer.h b/base/string_tokenizer.h
index a274fd1dc86961bec4d176e966cb7884afc7b6fa..1d0d66f32295db637df1c976578853aced9c36e5 100644
--- a/base/string_tokenizer.h
+++ b/base/string_tokenizer.h
@@ -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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698