[Groonga-commit] groonga/groonga at 4f63919 [master] Add missing parentheses

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Jun 23 14:12:28 JST 2016


Kouhei Sutou	2016-06-23 14:12:28 +0900 (Thu, 23 Jun 2016)

  New Revision: 4f63919ba76d6e4d491ec31d134ba5a02cac1287
  https://github.com/groonga/groonga/commit/4f63919ba76d6e4d491ec31d134ba5a02cac1287

  Message:
    Add missing parentheses

  Modified files:
    include/groonga/table.h

  Modified: include/groonga/table.h (+1 -1)
===================================================================
--- include/groonga/table.h    2016-06-23 14:02:49 +0900 (0c57d56)
+++ include/groonga/table.h    2016-06-23 14:12:28 +0900 (964aefc)
@@ -114,7 +114,7 @@ GRN_API grn_posting *grn_index_cursor_next(grn_ctx *ctx, grn_obj *ic, grn_id *ti
 } while (0)
 
 #define GRN_TABLE_EACH_BEGIN(ctx, table, cursor, id) do {\
-  if (table) {\
+  if ((table)) {\
     grn_table_cursor *cursor;\
     cursor = grn_table_cursor_open((ctx), (table),\
                                    NULL, 0,\
-------------- next part --------------
HTML����������������������������...
下載 



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