fix gcc warnings

This commit is contained in:
Christopher Dunn
2015-01-24 13:42:37 -06:00
parent 201904bfbb
commit 2bc6137ada
5 changed files with 7 additions and 7 deletions

View File

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