[Groonga-commit] nroonga/nroonga at 89aa641 [master] Remove unnecessary return

Back to archive index

abetomo null+****@clear*****
Thu Aug 31 12:22:41 JST 2017


abetomo	2017-08-31 12:22:41 +0900 (Thu, 31 Aug 2017)

  New Revision: 89aa64198d79ed9a93291461c1a19b52450bcb41
  https://github.com/nroonga/nroonga/commit/89aa64198d79ed9a93291461c1a19b52450bcb41

  Merged 4a52907: Merge pull request #9 from abetomo/clean_coding_style

  Message:
    Remove unnecessary return

  Modified files:
    src/nroonga.cc

  Modified: src/nroonga.cc (+0 -2)
===================================================================
--- src/nroonga.cc    2017-08-31 12:20:46 +0900 (05cc631)
+++ src/nroonga.cc    2017-08-31 12:22:41 +0900 (9427758)
@@ -94,7 +94,6 @@ void Database::Close(const FunctionCallbackInfo<Value>& args) {
     isolate->ThrowException(
         Exception::Error(
             String::NewFromUtf8(isolate, "Failed to close the database")));
-    return;
   }
 }
 
@@ -122,7 +121,6 @@ void Database::CommandWork(uv_work_t* req) {
     return;
   }
   baton->error = 0;
-  return;
 }
 
 void Database::CommandAfter(uv_work_t* req) {
-------------- next part --------------
HTML����������������������������...
Download 



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