[Groonga-commit] groonga/groonga [master] Fix misleadable name

Back to archive index

null+****@clear***** null+****@clear*****
Fri Aug 10 17:19:56 JST 2012


Kouhei Sutou	2012-08-10 17:19:56 +0900 (Fri, 10 Aug 2012)

  New Revision: 2eac198400c121669af0c931c6c28063d5c40b14
  https://github.com/groonga/groonga/commit/2eac198400c121669af0c931c6c28063d5c40b14

  Log:
    Fix misleadable name

  Modified files:
    lib/expr.c

  Modified: lib/expr.c (+5 -4)
===================================================================
--- lib/expr.c    2012-08-10 14:40:00 +0900 (7c51dd9)
+++ lib/expr.c    2012-08-10 17:19:56 +0900 (1f951c7)
@@ -25,11 +25,12 @@
 #include "util.h"
 
 static inline int
-function_proc_p(grn_obj *expr)
+function_proc_p(grn_obj *obj)
 {
-  return (expr &&
-          expr->header.type == GRN_PROC &&
-          ((grn_proc *)expr)->type == GRN_PROC_FUNCTION);
+  return (obj &&
+          obj->header.type == GRN_PROC &&
+          ((grn_proc *)obj)->type == GRN_PROC_FUNCTION);
+}
 }
 
 grn_obj *
-------------- next part --------------
HTML����������������������������...
Download 



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