[Groonga-commit] groonga/grnxx at d732ef0 [master] Add a missing "return". (#127)

Back to archive index

susumu.yata null+****@clear*****
Fri Dec 5 19:06:16 JST 2014


susumu.yata	2014-12-05 19:06:16 +0900 (Fri, 05 Dec 2014)

  New Revision: d732ef07d5fad5eeb9b0c1b49ea3d988abcce293
  https://github.com/groonga/grnxx/commit/d732ef07d5fad5eeb9b0c1b49ea3d988abcce293

  Message:
    Add a missing "return". (#127)

  Modified files:
    lib/grnxx/impl/index.cpp

  Modified: lib/grnxx/impl/index.cpp (+1 -1)
===================================================================
--- lib/grnxx/impl/index.cpp    2014-12-05 18:59:01 +0900 (f57a730)
+++ lib/grnxx/impl/index.cpp    2014-12-05 19:06:16 +0900 (f321252)
@@ -908,7 +908,7 @@ Int Index::find_one(const Datum &value) const {
   Array<Record> records;
   auto count = cursor->read(1, &records);
   if (count == 0) {
-    Int::na();
+    return Int::na();
   }
   return records[0].row_id;
 }
-------------- next part --------------
HTML����������������������������...
下載 



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