Build without warnings with -pedantic enabled.

This commit is contained in:
Connor Manning 2015-01-22 10:48:45 -06:00
parent 40810fe326
commit 00b8ce81db

View File

@ -340,7 +340,7 @@ Value::Value(const Value& other)
case stringValue: case stringValue:
if (other.value_.string_) { if (other.value_.string_) {
value_.string_ = duplicateStringValue(other.value_.string_); value_.string_ = duplicateStringValue(other.value_.string_);
allocated_ = true; allocated_ |= true;
} else { } else {
value_.string_ = 0; value_.string_ = 0;
allocated_ = false; allocated_ = false;