[Groonga-commit] groonga/groonga at a2daba6 [master] Initialize a variable

Back to archive index

Susumu Yata null+****@clear*****
Mon Jul 3 18:54:10 JST 2017


Susumu Yata	2017-07-03 18:54:10 +0900 (Mon, 03 Jul 2017)

  New Revision: a2daba6309ae8b6c32094053994e685360f361bf
  https://github.com/groonga/groonga/commit/a2daba6309ae8b6c32094053994e685360f361bf

  Message:
    Initialize a variable

  Modified files:
    plugins/functions/math.c

  Modified: plugins/functions/math.c (+1 -1)
===================================================================
--- plugins/functions/math.c    2017-07-03 18:52:03 +0900 (0149f17)
+++ plugins/functions/math.c    2017-07-03 18:54:10 +0900 (a78b180)
@@ -30,7 +30,7 @@ func_math_abs(grn_ctx *ctx, int n_args, grn_obj **args,
               grn_user_data *user_data)
 {
   grn_obj *number;
-  grn_obj *grn_abs_number;
+  grn_obj *grn_abs_number = NULL;
 
   if (n_args != 1) {
     GRN_PLUGIN_ERROR(ctx, GRN_INVALID_ARGUMENT,
-------------- next part --------------
HTML����������������������������...
Télécharger 



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