Snippets for apg 2.3.0b from Fedora s390x
Sourced from https://kojipkgs.fedoraproject.org/packages/apg/2.3.0b/53.fc45/data/logs/s390x/build.log.
-
apgbfm.c:82:7: warning: variable ‘case_insensitive_flag’ set but not used [-Wunused-but-set-variable=] 82 | flag case_insensitive_flag = FALSE; /* -q */ | ^~~~~~~~~~~~~~~~~~~~~ -
./cast/cast.c:15:18: warning: ‘z[0]’ may be used uninitialized [-Wmaybe-uninitialized] 15 | #define U8d(x) ( (u8) ((x)&255) ) | ~~^~~~~~~~~~~~~~~~ -
./cast/cast.c:167:44: warning: ‘z[1]’ may be used uninitialized [-Wmaybe-uninitialized] 167 | t[2] = x[2] = z[1] ^ cast_sbox5[U8d(x[1])] ^ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -
./cast/cast.c:161:44: warning: ‘z[2]’ may be used uninitialized [-Wmaybe-uninitialized] 161 | t[0] = x[0] = z[2] ^ cast_sbox5[U8b(z[1])] ^ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -
./cast/cast.c:170:44: warning: ‘z[3]’ may be used uninitialized [-Wmaybe-uninitialized] 170 | t[3] = x[3] = z[3] ^ cast_sbox5[U8c(x[2])] ^ | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -
rnd.c:196:10: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 196 | (void)fread( (void *)&drs[0], 8, 1, dr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
rnd.c:203:10: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 203 | (void)fread( (void *)&drs[0], 8, 1, dr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
restrict.c:259:1: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 259 | if(word == NULL) | ^~ -
apg.c:421:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 421 | write (0, (void*) out_pass, strlen(out_pass)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
apg.c:422:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 422 | write (0, (void*)&delim[0],2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
apg.c:461:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 461 | write (0, (void*) out_pass, strlen(out_pass)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
apg.c:462:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 462 | write (0, (void*)&delim[0],2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
apg.c:535:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 535 | write (0, (void*)pass_string, strlen(pass_string)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
apg.c:536:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 536 | write (0, (void*)&delim[0],2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
apg.c:570:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 570 | write (0, (void*)pass_string, strlen(pass_string)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
apg.c:571:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 571 | write (0, (void*)&delim[0],2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
apg.c:616:56: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] 616 | printf ("\nPlease enter some random data (only first %d are significant)\n", sizeof(prom)); | ~^ ~~~~~~~~~~~~ | | | | int long unsigned int | %ld -
/usr/include/bits/string_fortified.h:29:10: warning: ‘crypt_string’ may be used uninitialized [-Wmaybe-uninitialized] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ -
apg.c:562:31: warning: ‘spell_pass_string’ may be used uninitialized [-Wmaybe-uninitialized] 562 | spell_pass_string = spell_word(pass_string, spell_pass_string); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~