Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
db.c:3220:52: warning: variable 'key_size' is uninitialized when used here
[-Wuninitialized]
if (grn_table_add_v_inline(ctx, table1, key, key_size, &value1, NULL)) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/groonga.h:1041:82: note: expanded from macro 'GRN_TABLE_EACH'
...(grn_array *)(table), (head), (tail), (id), (value), block);\
^
../include/groonga.h:2734:7: note: expanded from macro 'GRN_ARRAY_EACH'
block\
^~~~~
db.c:3173:20: note: initialize the variable 'key_size' to silence this warning
uint32_t key_size;
^
= 0- Loading branch information