Merge "Return false if incorrect event value type"
This commit is contained in:
committed by
Android (Google) Code Review
commit
77e3b1065d
@@ -650,6 +650,7 @@ bool getDoubleOrLong(const LogEvent& event, const Matcher& matcher, Value& ret)
|
||||
ret.setDouble(value.mValue.double_value);
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user