[Groonga-commit] nroonga/nroonga [master] remove unused variable

Back to archive index

null+****@clear***** null+****@clear*****
2011年 11月 22日 (火) 17:14:43 JST


Yoji SHIDARA	2011-11-22 08:14:43 +0000 (Tue, 22 Nov 2011)

  New Revision: 890ee8fce7d14f4f93ff70028bf933783dc36c97

  Log:
    remove unused variable

  Modified files:
    src/nroonga.cc

  Modified: src/nroonga.cc (+0 -2)
===================================================================
--- src/nroonga.cc    2011-11-22 08:13:18 +0000 (f10ed11)
+++ src/nroonga.cc    2011-11-22 08:14:43 +0000 (f718c7c)
@@ -110,14 +110,12 @@ Handle<Value> Database::CommandString(const Arguments& args) {
     return ThrowException(Exception::TypeError(String::New("Bad parameter")));
   }
 
-  bool callback_given = false;
   Local<Function> callback;
   if (args.Length() >= 2) {
     if (!args[1]->IsFunction()) {
       return ThrowException(Exception::TypeError(String::New("Second argument must be a callback function")));
     } else {
       callback = Local<Function>::Cast(args[1]);
-      callback_given = true;
     }
   }
 




Groonga-commit メーリングリストの案内
Back to archive index