summaryrefslogtreecommitdiffstats
path: root/chrome/tools/convert_dict
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-29 23:01:29 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-29 23:01:29 +0000
commitd045184bb3f3b5380b2358026f3aefa82fef4cb6 (patch)
tree0ba13eff01d1f7eacbe4d34ce967e4703696259e /chrome/tools/convert_dict
parentb633d4e66319380b4df59285926711d3663d9bfc (diff)
downloadchromium_src-d045184bb3f3b5380b2358026f3aefa82fef4cb6.zip
chromium_src-d045184bb3f3b5380b2358026f3aefa82fef4cb6.tar.gz
chromium_src-d045184bb3f3b5380b2358026f3aefa82fef4cb6.tar.bz2
Coverity: Initialize has_indexed_affixes_ in the constructor.
CID=1635 BUG=none TEST=none Review URL: http://codereview.chromium.org/249036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27557 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools/convert_dict')
-rw-r--r--chrome/tools/convert_dict/aff_reader.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/tools/convert_dict/aff_reader.cc b/chrome/tools/convert_dict/aff_reader.cc
index 372033a..2ea8301 100644
--- a/chrome/tools/convert_dict/aff_reader.cc
+++ b/chrome/tools/convert_dict/aff_reader.cc
@@ -44,7 +44,8 @@ void CollapseDuplicateSpaces(std::string* str) {
} // namespace
-AffReader::AffReader(const std::string& filename) {
+AffReader::AffReader(const std::string& filename)
+ : has_indexed_affixes_(false) {
file_ = file_util::OpenFile(filename, "r");
// Default to Latin1 in case the file doesn't specify it.