Task #130959 - added.err
back to task #130959download
Error: COMPILER_WARNING:
gdk-pixbuf-2.44.7/gdk-pixbuf/io-xpm.c: scope_hint: In function ‘pixbuf_create_from_xpm’
gdk-pixbuf-2.44.7/gdk-pixbuf/io-xpm.c:454:19: warning[-Wunused-but-set-variable=]: variable ‘xcnt’ set but not used
# 454 | gint cnt, xcnt, ycnt, wbytes, n;
# | ^~~~
# 452| {
# 453| gint w, h, n_col, cpp, x_hot, y_hot, items;
# 454|-> gint cnt, xcnt, ycnt, wbytes, n;
# 455| gint is_trans = FALSE;
# 456| const gchar *buffer;
Error: GCC_ANALYZER_WARNING (CWE-476):
gdk-pixbuf-2.44.7/gdk-pixbuf/io-xpm.c:624:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘color’
gdk-pixbuf-2.44.7/gdk-pixbuf/io-xpm.c:677:1: enter_function: entry to ‘gdk_pixbuf__xpm_image_load_xpm_data’
gdk-pixbuf-2.44.7/gdk-pixbuf/io-xpm.c:686:18: call_function: calling ‘pixbuf_create_from_xpm’ from ‘gdk_pixbuf__xpm_image_load_xpm_data’
# 622| color = fallbackcolor;
# 623|
# 624|-> *pixtmp++ = color->red >> 8;
# 625| *pixtmp++ = color->green >> 8;
# 626| *pixtmp++ = color->blue >> 8;