[Groonga-commit] nroonga/nroonga at a8b11d1 [master] Remove unnecessary variable declaration

Back to archive index

abetomo null+****@clear*****
Tue Sep 5 11:19:26 JST 2017


abetomo	2017-09-05 11:19:26 +0900 (Tue, 05 Sep 2017)

  New Revision: a8b11d10d19d1e19b410b41c8030c24a7b8deb7b
  https://github.com/nroonga/nroonga/commit/a8b11d10d19d1e19b410b41c8030c24a7b8deb7b

  Merged aa61187: Merge pull request #13 from abetomo/use_nan_helper_method

  Message:
    Remove unnecessary variable declaration

  Modified files:
    src/nroonga.cc

  Modified: src/nroonga.cc (+0 -2)
===================================================================
--- src/nroonga.cc    2017-09-05 11:18:05 +0900 (d4d8b23)
+++ src/nroonga.cc    2017-09-05 11:19:26 +0900 (cca3938)
@@ -130,8 +130,6 @@ void Database::CommandAfter(uv_work_t* req) {
 }
 
 void Database::CommandString(const FunctionCallbackInfo<Value>& args) {
-  Isolate* isolate = Isolate::GetCurrent();
-  HandleScope scope(isolate);
   Database *db = ObjectWrap::Unwrap<Database>(args.Holder());
   if (args.Length() < 1 || !args[0]->IsString()) {
     Nan::ThrowTypeError("Bad parameter");
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index