Task #119291 - perl-HTML-Parser-3.85-1.fc45/scan-results.err

back to task #119291
download
Error: COMPILER_WARNING (CWE-704):
HTML-Parser-3.85/Parser.xs:30: included_from: Included from here.
HTML-Parser-3.85/util.c: scope_hint: In function ‘decode_entities’
HTML-Parser-3.85/util.c:102:33: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#  102 |                     char *tmp = strchr(PL_hexdigit, *s);
#      |                                 ^~~~~~
#  100|   		s++;
#  101|   		while (s < end) {
#  102|-> 		    char *tmp = strchr(PL_hexdigit, *s);
#  103|   		    if (!tmp)
#  104|   			break;

Error: COMPILER_WARNING (CWE-704):
HTML-Parser-3.85/util.c:102:33: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#  100|   		s++;
#  101|   		while (s < end) {
#  102|-> 		    char *tmp = strchr(PL_hexdigit, *s);
#  103|   		    if (!tmp)
#  104|   			break;