Snippets for httrack 3.49.21 from Fedora aarch64
Sourced from https://kojipkgs.fedoraproject.org/packages/httrack/3.49.21/1.fc46/data/logs/aarch64/build.log.
-
htsalias.c:390:21: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 390 | if ((position = strchr(argv[n_arg], '='))) { | ^ -
htsname.c:417:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 417 | char *pos = strchr(adr_complete, ':'); | ^~~~~~ -
htsname.c:521:7: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 521 | a = strchr(fil_complete, '?'); | ^ -
htsname.c:1000:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1000 | c = strchr(fil_complete, '?'); | ^ -
htsname.c:1161:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1161 | char *d = strchr(fil_complete, '?'); | ^~~~~~ -
htsname.c:1845:5: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1845 | a = strchr(fil, '?'); | ^ -
htscore.c:2527:7: warning: variable 'npaths' set but not used [-Wunused-but-set-variable=] 2527 | int npaths; | ^~~~~~ -
htscore.c:2639:7: warning: variable 'npaths' set but not used [-Wunused-but-set-variable=] 2639 | int npaths; | ^~~~~~ -
proxy/proxytrack.h:193:15: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 193 | char *p = strrchr(s, c); | ^~~~~~~ -
proxy/proxytrack.h:200:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | p = strchr((a) ? a : s, c); | ^ -
proxy/main.c:77:15: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 77 | char *pos = strrchr(str, ':'); | ^~~~~~~ -
proxy/store.c:546:15: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 546 | char *dot = strrchr(filename, '.'); | ^~~~~~~ -
proxy/store.c:1543:17: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1543 | char *pos = strrchr(filename, '.'); | ^~~~~~~ -
htsselftest.c:4884:16: warning: unused variable 'tlen' [-Wunused-variable] 4884 | const size_t tlen = sizeof(cc_text) - 1; | ^~~~ -
htsparse.c:671:27: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 671 | a = strchr(html, '>'); | ^ -
htsparse.c:1305:33: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1305 | b = strchr(a, '>'); | ^ -
htsparse.c:1356:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1356 | a = strchr(html, '>'); | ^ -
htsselftest.c:542:5: warning: call to 'strcpybuff_ptr_.constprop.isra' declared with attribute warning: strcpybuff() destination is a pointer (capacity unknown): NOT bounds-checked; use strlcpybuff(dst, src, size) [-Wattribute-warning] 542 | strcpybuff(p, "ptr"); | ^ -
callbacks-example-filename2.c:66:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | char *pos = strchr(arg, ','); | ^~~~~~ -
unlinkfail.c:41:49: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 50 [-Wformat-truncation=] 41 | snprintf(path, sizeof(path), "/proc/self/fd/%s", ent->d_name); | ^~