Commit 386f3e62 authored by sbc@chromium.org's avatar sbc@chromium.org

add missing case to switch

The NaCL SDK builds this code with -Wswitch-enum -Werror so
this is failing to build.

Perhaps in light if this its best to just remove the default
case?

BUG=


Review URL: https://chromiumcodereview.appspot.com/10855056

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150926 0039d316-1c4b-4281-b951-d872f2087c98
parent 435b8d87
...@@ -165,6 +165,7 @@ bool Var::operator==(const Var& other) const { ...@@ -165,6 +165,7 @@ bool Var::operator==(const Var& other) const {
return AsString() == other.AsString(); return AsString() == other.AsString();
case PP_VARTYPE_OBJECT: case PP_VARTYPE_OBJECT:
case PP_VARTYPE_ARRAY: case PP_VARTYPE_ARRAY:
case PP_VARTYPE_ARRAY_BUFFER:
case PP_VARTYPE_DICTIONARY: case PP_VARTYPE_DICTIONARY:
default: // Objects, arrays, dictionaries. default: // Objects, arrays, dictionaries.
return var_.value.as_id == other.var_.value.as_id; return var_.value.as_id == other.var_.value.as_id;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment