summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-10-30 12:05:41 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2015-10-30 12:05:41 +0000
commitfca90a1f3b7a77778db1d2acad83af72f160be88 (patch)
tree2b09b2b8a97bc6890b612cd1455c8167b0b760d4
parentf31f9739e6cb06298604f5fb723db2ab9a8f2962 (diff)
Fix compile-time error.
Change-Id: I457db9d43f1cc0f908542b0fe5f13cbc4beb1f1b
-rw-r--r--runtime/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/utils.h b/runtime/utils.h
index 5cca2964ce..3690f86a80 100644
--- a/runtime/utils.h
+++ b/runtime/utils.h
@@ -333,7 +333,7 @@ static void ParseUintOption(const StringPiece& option,
std::string option_prefix = option_name + (is_long_option ? "=" : "");
DCHECK(option.starts_with(option_prefix));
const char* value_string = option.substr(option_prefix.size()).data();
- int64_t parsed_integer_value;
+ int64_t parsed_integer_value = 0;
if (!ParseInt(value_string, &parsed_integer_value)) {
Usage("Failed to parse %s '%s' as an integer", option_name.c_str(), value_string);
}