Snippets for httrack 3.49.14 from Nix aarch64-darwin
Sourced from https://hydra.nixos.org/log/sx7hjrnar930mk4dkvp209gpx7clbhiy-httrack-3.49.14.drv.
-
proxy/proxytrack.h:73:25: warning: format string is not a string literal [-Wformat-nonliteral] 73 | (void) vfprintf(fp, format, args); | ^~~~~~ -
proxy/proxytrack.c:774:29: warning: address of array 'file->lastmodified' will always evaluate to 'true' [-Wpointer-bool-conversion] 774 | if (file->lastmodified) { | ~~ ~~~~~~^~~~~~~~~~~~ -
proxy/proxytrack.c:788:29: warning: address of array 'file->contenttype' will always evaluate to 'true' [-Wpointer-bool-conversion] 788 | if (file->contenttype) { | ~~ ~~~~~~^~~~~~~~~~~ -
proxy/store.c:2194:34: warning: size argument in 'strncat' call appears to be size of the source [-Wstrncat-size] 2194 | strncat(r->msg, pos, sizeof(pos) - 1); | ^~~~~~~~~~~~~~~ -
coucal/coucal.c:343:29: warning: format string is not a string literal [-Wformat-nonliteral] 343 | (void) vfprintf(stderr, format, args); | ^~~~~~ -
minizip/zip.c:1931:15: warning: cast from 'char *' to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 1931 | header = *(short*)p; | ^~~~~~~~~ -
minizip/zip.c:1932:19: warning: cast from 'char *' to 'short *' increases required alignment from 1 to 2 [-Wcast-align] 1932 | dataSize = *(((short*)p)+1); | ^~~~~~~~~ -
htscore.c:715:13: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement] 715 | htsbuff primarybuff = htsbuff_ptr(primary, primary_len); | ^ -
htscore.c:2114:41: warning: sizeof on pointer operation will return size of 'char *' instead of 'char[1100]' [-Wsizeof-array-decay] 2114 | strcatbuff(file, line + 1); | ~~~~ ^ -
htscore.c:2138:45: warning: sizeof on pointer operation will return size of 'char *' instead of 'char[1100]' [-Wsizeof-array-decay] 2138 | strcatbuff(file, line + 1); | ~~~~ ^ -
htscore.c:2105:20: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement] 2105 | char line[1100]; | ^ -
htscore.c:2521:7: warning: variable 'npaths' set but not used [-Wunused-but-set-variable] 2521 | int npaths; | ^ -
htscore.c:2629:7: warning: variable 'npaths' set but not used [-Wunused-but-set-variable] 2629 | int npaths; | ^ -
htsparse.c:2200:42: warning: sizeof on pointer operation will return size of 'char *' instead of 'char[2048]' [-Wsizeof-array-decay] 2200 | strcpybuff(tempo, lien + /* ./ */ 2); | ~~~~ ^ -
htsparse.c:2381:47: warning: sizeof on pointer operation will return size of 'char *' instead of 'char[2048]' [-Wsizeof-array-decay] 2381 | lien + ((*lien == '/') ? 1 : 0)); | ~~~~ ^ -
htsparse.c:494:29: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement] 494 | const script_automate saut = {&inscript, inscript_state, | ^ -
htsback.c:544:13: warning: comparison of array 'back->url_sav' not equal to a null pointer is always true [-Wtautological-pointer-compare] 544 | if (back->url_sav != NULL && back->url_sav[0] != '\0') { | ~~~~~~^~~~~~~ ~~~~ -
htsback.c:891:37: warning: comparison of array 'back[p].url_sav' not equal to a null pointer is always true [-Wtautological-pointer-compare] 891 | back[p].url_sav != NULL ? back[p].url_sav : ""); | ~~~~~~~~^~~~~~~ ~~~~ -
htsback.c:2324:35: warning: address of array 'back[i].url_sav' will always evaluate to 'true' [-Wpointer-bool-conversion] 2324 | back[i].url_sav ? back[i].url_sav : "<null>"); | ~~~~~~~~^~~~~~~ ~ -
htsback.c:2862:61: warning: cast from 'const char *' to 'void *' drops const qualifier [-Wcast-qual] 2862 | SSL_set_tlsext_host_name(back[i].r.ssl_con, hostname); | ^ -
htsback.c:3701:37: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement] 3701 | const hts_boolean server_sent_304 = | ^ -
htsdns_selftest.c:196:28: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement] 196 | struct addrinfo *const ai = mock_mkai(&h->addr[i]); | ^ -
htsselftest.c:1191:20: warning: variable 'result' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1191 | } else if (bench[loop].type == TEST_ADD || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1192 | bench[loop].type == TEST_DEL) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
htsselftest.c:2140:22: warning: passing 'const char *const' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2140 | if (cache_binput(end, end, s, sizeof(s)) != 0 || s[0] != '\0') | ^~~ -
htsselftest.c:2336:36: warning: passing 'const char[26]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2336 | treathead(&ck2, host, "/", &r, "Set-Cookie: SID=1; path=/"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
htsselftest.c:2340:35: warning: passing 'const char[26]' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2340 | treathead(&ck2, dom, "/", &r, "Set-Cookie: SID=1; path=/"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
htsselftest.c:2830:28: warning: cast from 'const unsigned char *' to 'unsigned char *' drops const qualifier [-Wcast-qual] 2830 | strm.next_in = (Bytef *) src; | ^ -
htsselftest.c:3045:16: warning: unused variable 'tlen' [-Wunused-variable] 3045 | const size_t tlen = sizeof(cc_text) - 1; | ^~~~ -
htsselftest.c:4358:8: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement] 4358 | char path[HTS_URLMAXSIZE * 2]; | ^ -
htsselftest.c:4417:8: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement] 4417 | char path[HTS_URLMAXSIZE * 2]; | ^ -
htsselftest.c:4543:11: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement] 4543 | FILE *fp = FOPEN(path, "wb"); | ^ -
htsselftest.c:4507:8: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement] 4507 | char path[HTS_URLMAXSIZE * 2]; | ^ -
htsselftest.c:4608:8: warning: mixing declarations and code is incompatible with standards before C99 [-Wdeclaration-after-statement] 4608 | char dir[HTS_URLMAXSIZE * 2]; | ^ -
htsselftest.c:3039:28: warning: variable 'cc_text' is not needed and will not be emitted [-Wunneeded-internal-declaration] 3039 | static const unsigned char cc_text[] = | ^~~~~~~ -
htslib.c:707:19: warning: address of array 'retour->msg' will always evaluate to 'true' [-Wpointer-bool-conversion] 707 | if (retour->msg) { | ~~ ~~~~~~~~^~~ -
htslib.c:2210:29: warning: address of array 'retour->msg' will always evaluate to 'true' [-Wpointer-bool-conversion] 2210 | if (retour && retour->msg) { | ~~ ~~~~~~~~^~~ -
htslib.c:2241:29: warning: address of array 'retour->msg' will always evaluate to 'true' [-Wpointer-bool-conversion] 2241 | if (retour && retour->msg) { | ~~ ~~~~~~~~^~~ -
htslib.c:2265:31: warning: address of array 'retour->msg' will always evaluate to 'true' [-Wpointer-bool-conversion] 2265 | if (retour && retour->msg) { | ~~ ~~~~~~~~^~~ -
htslib.c:2322:39: warning: address of array 'retour->msg' will always evaluate to 'true' [-Wpointer-bool-conversion] 2322 | if (retour != NULL && retour->msg) { | ~~ ~~~~~~~~^~~ -
htslib.c:5548:25: warning: format string is not a string literal [-Wformat-nonliteral] 5548 | (void) vfprintf(fp, format, args); | ^~~~~~ -
htslib.c:5624:20: warning: format string is not a string literal [-Wformat-nonliteral] 5624 | vfprintf(stderr, format, args); | ^~~~~~ -
htslib.c:5819:31: warning: format string is not a string literal [-Wformat-nonliteral] 5819 | (void) vfprintf(opt->log, format, args); | ^~~~~~ -
htsname.c:1014:44: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 1014 | htsbuff_cat(&sb, DEFAULT_EXT + 1); // skip the leading dot | ~~~~~~~~~~~~^~~ -
htsname.c:1016:50: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 1016 | htsbuff_cat(&sb, DEFAULT_EXT_SHORT + 1); // skip the leading dot | ~~~~~~~~~~~~~~~~~~^~~ -
htsname.c:1027:44: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 1027 | htsbuff_cat(&sb, DEFAULT_EXT + 1); // skip the leading dot | ~~~~~~~~~~~~^~~ -
htsname.c:1029:50: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] 1029 | htsbuff_cat(&sb, DEFAULT_EXT_SHORT + 1); // skip the leading dot | ~~~~~~~~~~~~~~~~~~^~~ -
htsname.c:1344:33: warning: sizeof on pointer operation will return size of 'char *' instead of 'char[2048]' [-Wsizeof-array-decay] 1344 | strcpybuff(tempo, afs->save + 1); | ~~~~~~~~~ ^ -
htsrobots.c:166:20: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 166 | bptr += binput(body + bptr, line, sizeof(line) - 2); | ^~~~~~~~~~~ -
htstools.c:1327:23: warning: address of array 'find->dirp->d_name' will always evaluate to 'true' [-Wpointer-bool-conversion] 1327 | if (find->dirp->d_name) | ~~ ~~~~~~~~~~~~^~~~~~ -
htscharset.c:1125:32: warning: result of comparison of constant -1 with expression of type 'unsigned char' is always true [-Wtautological-constant-out-of-range-compare] 1125 | EMIT_UNICODE(uc, EM); | ~~~~~~~~~~~~~~~~~^~~ -
htscharset.c:1125:32: warning: result of comparison of constant -1 with expression of type 'const unsigned char' is always true [-Wtautological-constant-out-of-range-compare] 1125 | EMIT_UNICODE(uc, EM); | ~~~~~~~~~~~~~~~~~^~~ -
htscharset.c:1253:22: warning: result of comparison of constant -1 with expression of type 'unsigned char' is always true [-Wtautological-constant-out-of-range-compare] 1253 | EMIT_UNICODE(uc, EM); | ~~~~~~~~~~~~~~~~~^~~ -
htscharset.c:1253:22: warning: result of comparison of constant -1 with expression of type 'const unsigned char' is always true [-Wtautological-constant-out-of-range-compare] 1253 | EMIT_UNICODE(uc, EM); | ~~~~~~~~~~~~~~~~~^~~ -
/nix/var/nix/builds/nix-72609-454204826/source/src/coucal/coucal.c:343:29: warning: format string is not a string literal [-Wformat-nonliteral] 343 | (void) vfprintf(stderr, format, args); | ^~~~~~