Task #84208 - fixed.err
back to task #84208download
Error: COMPILER_WARNING (CWE-704):
bluechi-1.3.0/src/libbluechi/common/parse-util.c: scope_hint: In function ‘parse_selinux_type’
bluechi-1.3.0/src/libbluechi/common/parse-util.c:69:19: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
# 69 | char *s = strchr(context, ':');
# | ^~~~~~
# 67|
# 68| /* Skip user */
# 69|-> char *s = strchr(context, ':');
# 70| if (s == NULL) {
# 71| return NULL;
Error: COMPILER_WARNING (CWE-704):
bluechi-1.3.0/src/proxy/main.c: scope_hint: In function ‘parse_node_unit_opt’
bluechi-1.3.0/src/proxy/main.c:55:23: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
# 53| }
# 54|
# 55|-> char *split = strchr(opt_node_unit, '_');
# 56| if (split == NULL || split == opt_node_unit) {
# 57| fprintf(stderr, "No underscore in unit name '%s'\n", opt_node_unit);