GNOME Bugzilla – Bug 338038
g_realloc return value ignored
Last modified: 2006-04-17 04:13:40 UTC
tree.c: In function 'zenity_tree_extract_column_indexes': tree.c:674: warning: ignoring return value of 'g_realloc', declared with attribute warn_unused_result if (index > 0 && index <= n_columns) { result[j] = index; j++; - g_renew (gint, result, j + 1); + result = g_renew (gint, result, j + 1); }
Fixed in HEAD and gnome-2-14 branch, thanks! 2006-04-16 Lucas Rocha <lucasr@gnome.org> * src/tree.c (zenity_tree_extract_column_indexes): don't ignore return value from g_renew() (Fixes bug #338038). Patch from Behdad Esfahbod <gnome@behdad.org>.