Task #118891 - fixed.err
back to task #118891download
Error: COMPILER_WARNING:
gnome-shell-50.0/src/shell-keyring-prompt.c: scope_hint: In function ‘calculate_password_strength’
gnome-shell-50.0/src/shell-keyring-prompt.c:604:14: warning[-Wunused-but-set-variable=]: variable ‘lower’ set but not used
# 604 | int upper, lower, digit, misc;
# | ^~~~~
# 602| calculate_password_strength (const gchar *password)
# 603| {
# 604|-> int upper, lower, digit, misc;
# 605| gdouble pwstrength;
# 606| int length, i;
Error: COMPILER_WARNING (CWE-704):
gnome-shell-50.0/src/shell-util.c: scope_hint: In function ‘shell_util_translate_time_string’
gnome-shell-50.0/src/shell-util.c:165:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 165 | sep = strchr (str, '\004');
# | ^
# 163| old_loc = uselocale (loc);
# 164|
# 165|-> sep = strchr (str, '\004');
# 166| res = g_dpgettext (NULL, str, sep ? sep - str + 1 : 0);
# 167|
Error: COMPILER_WARNING (CWE-704):
gnome-shell-50.0/src/shell-util.c:165:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 163| old_loc = uselocale (loc);
# 164|
# 165|-> sep = strchr (str, '\004');
# 166| res = g_dpgettext (NULL, str, sep ? sep - str + 1 : 0);
# 167|
Error: COMPILER_WARNING:
gnome-shell-50.0/src/st/croco/cr-input.c: scope_hint: In function ‘cr_input_new_from_uri’
gnome-shell-50.0/src/st/croco/cr-input.c:204:17: warning[-Wunused-but-set-variable=]: variable ‘buf_size’ set but not used
# 204 | buf_size = 0;
# | ^~~~~~~~
# 202| gulong nb_read = 0,
# 203| len = 0,
# 204|-> buf_size = 0;
# 205| gboolean loop = TRUE;
# 206| guchar *buf = NULL;
Error: COMPILER_WARNING:
gnome-shell-50.0/src/st/croco/cr-parser.c: scope_hint: In function ‘cr_parser_parse_expr’
gnome-shell-50.0/src/st/croco/cr-parser.c:3031:16: warning[-Wunused-but-set-variable=]: variable ‘nb_terms’ set but not used
# 3031 | gulong nb_terms = 0;
# | ^~~~~~~~
# 3029| *expr2 = NULL;
# 3030| guchar next_byte = 0;
# 3031|-> gulong nb_terms = 0;
# 3032|
# 3033| g_return_val_if_fail (a_this && PRIVATE (a_this)
Error: COMPILER_WARNING (CWE-704):
gnome-shell-50.0/src/st/croco/cr-rgb.c: scope_hint: In function ‘cr_rgb_set_from_name’
gnome-shell-50.0/src/st/croco/cr-rgb.c:405:16: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 405 | result = bsearch (a_color_name,
# | ^
# 403| g_return_val_if_fail (a_this && a_color_name, CR_BAD_PARAM_ERROR);
# 404|
# 405|-> result = bsearch (a_color_name,
# 406| gv_standard_colors,
# 407| G_N_ELEMENTS (gv_standard_colors),
Error: COMPILER_WARNING (CWE-704):
gnome-shell-50.0/src/st/croco/cr-rgb.c:405:16: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
# 403| g_return_val_if_fail (a_this && a_color_name, CR_BAD_PARAM_ERROR);
# 404|
# 405|-> result = bsearch (a_color_name,
# 406| gv_standard_colors,
# 407| G_N_ELEMENTS (gv_standard_colors),