[Pkg-javascript-commits] [node-leveldown] 294/492: remove redundant argv

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Sun Jul 6 17:14:10 UTC 2014


This is an automated email from the git hooks/post-receive script.

andrewrk-guest pushed a commit to annotated tag rocksdb-0.10.1
in repository node-leveldown.

commit 76bcaac0be478478b92fb090a43b54b0d3728b5a
Author: Rod Vagg <rod at vagg.org>
Date:   Sat Mar 30 17:11:42 2013 +1100

    remove redundant argv
---
 src/iterator_async.cc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/iterator_async.cc b/src/iterator_async.cc
index 2e39953..e62e437 100644
--- a/src/iterator_async.cc
+++ b/src/iterator_async.cc
@@ -83,8 +83,7 @@ void EndWorker::Execute () {
 
 void EndWorker::HandleOKCallback () {
   iterator->Release();
-  v8::Local<v8::Value> argv[0];
-  LD_RUN_CALLBACK(callback, argv, 0);  
+  LD_RUN_CALLBACK(callback, NULL, 0);
 }
 
 } // namespace leveldown

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-leveldown.git



More information about the Pkg-javascript-commits mailing list