Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 9310039: Remove some unused variables to fix the linux build. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart_api_impl.cc
===================================================================
--- runtime/vm/dart_api_impl.cc (revision 3815)
+++ runtime/vm/dart_api_impl.cc (working copy)
@@ -1378,7 +1378,6 @@
}
GrowableArray<const Object*> args(0);
- Dart_Handle result;
const Array& kNoArgumentNames = Array::Handle();
const Object& retval = Object::Handle(
DartEntry::InvokeDynamic(instance, function, args, kNoArgumentNames));
@@ -1599,7 +1598,6 @@
if (!function.IsNull()) {
Integer& indexobj = Integer::Handle();
Integer& valueobj = Integer::Handle();
- Dart_Handle result;
for (int i = 0; i < length; i++) {
indexobj = Integer::New(offset + i);
valueobj = Integer::New(native_array[i]);
@@ -1746,7 +1744,6 @@
}
return Api::NewError(msg);
}
- Dart_Handle retval;
GrowableArray<const Object*> dart_arguments(number_of_arguments);
for (int i = 0; i < number_of_arguments; i++) {
const Object& arg = Object::Handle(Api::UnwrapHandle(arguments[i]));
@@ -1791,7 +1788,6 @@
OS::PrintErr("Unable to find instance function: %s\n", name.ToCString());
return Api::NewError("Unable to find instance function");
}
- Dart_Handle retval;
GrowableArray<const Object*> dart_arguments(number_of_arguments);
for (int i = 0; i < number_of_arguments; i++) {
const Object& arg = Object::Handle(Api::UnwrapHandle(arguments[i]));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698