Permalink
Browse files

Dispense with the argument

  • Loading branch information...
nikhilm committed Jan 20, 2012
1 parent 831953f commit 79a2dbf21f1b7b50231be77f3d836f90cac7af48
Showing with 1 addition and 2 deletions.
  1. +1 −2 async/main.cc
View
@@ -113,9 +113,8 @@ class Inventory : public ObjectWrap {
ReshelveBaton *baton =
static_cast<ReshelveBaton*>(req->data);
- Handle<Value> argv[] = { Null() }; // no error
baton->callback->Call(Context::GetCurrent()->Global(),
- 1, argv);
+ 0, NULL);
baton->callback.Dispose();
delete baton;

0 comments on commit 79a2dbf

Please sign in to comment.