Index: src/preparse-data.cc |
diff --git a/src/preparse-data.cc b/src/preparse-data.cc |
index e65734b56c8fdfcee5b71ab9b99d19d844be95b2..98c343e79c5bf923a479f9d03f3eef95d57b51bd 100644 |
--- a/src/preparse-data.cc |
+++ b/src/preparse-data.cc |
@@ -74,7 +74,7 @@ void FunctionLoggingParserRecorder::LogMessage(int start_pos, |
function_store_.Add((arg_opt == NULL) ? 0 : 1); |
STATIC_ASSERT(PreparseDataConstants::kMessageTextPos == 3); |
WriteString(CStrVector(message)); |
- if (arg_opt) WriteString(CStrVector(arg_opt)); |
+ if (arg_opt != NULL) WriteString(CStrVector(arg_opt)); |
is_recording_ = false; |
} |