Index: runtime/vm/dart_api_impl.h |
=================================================================== |
--- runtime/vm/dart_api_impl.h (revision 34429) |
+++ runtime/vm/dart_api_impl.h (working copy) |
@@ -83,10 +83,9 @@ |
CURRENT_FUNC, #dart_handle); \ |
} else if (tmp.IsError()) { \ |
return dart_handle; \ |
- } else { \ |
- return Api::NewError("%s expects argument '%s' to be of type %s.", \ |
- CURRENT_FUNC, #dart_handle, #type); \ |
} \ |
+ return Api::NewError("%s expects argument '%s' to be of type %s.", \ |
+ CURRENT_FUNC, #dart_handle, #type); \ |
} while (0) |