| Index: runtime/lib/bool.cc
|
| diff --git a/runtime/lib/bool.cc b/runtime/lib/bool.cc
|
| index 30a69629d010887a433561b213b05406ec27a3c1..d57574568dd127bfdfcd15ee92b40bbc6cd3f9ad 100644
|
| --- a/runtime/lib/bool.cc
|
| +++ b/runtime/lib/bool.cc
|
| @@ -27,8 +27,8 @@ DEFINE_NATIVE_ENTRY(Bool_fromEnvironment, 3) {
|
| if (Dart_IsString(result)) {
|
| const char *chars;
|
| Dart_StringToCString(result, &chars);
|
| - return (strcmp("true", chars) == 0)
|
| - ? Bool::True().raw() : Bool::False().raw();
|
| + if (strcmp("true", chars) == 0) return Bool::True().raw();
|
| + if (strcmp("false", chars) == 0) return Bool::False().raw();
|
| } else if (Dart_IsError(result)) {
|
| const Object& error =
|
| Object::Handle(isolate, Api::UnwrapHandle(result));
|
|
|