Snippets for mutt 2.4.1 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/mutt/2.4.1/2.fc45/data/logs/i686/build.log.
-
../mutt.h:77:16: warning: ignoring return value of ‘fgets_unlocked’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 77 | # define fgets fgets_unlocked
-
recvattach.c:773:5: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 773 | chdir(mutt_b2s(orig_cwd)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
system.c:94:11: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 94 | chdir("/"); | ^~~~~~~~~~ -
pager.c:1470:19: warning: format ‘%c’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] 1470 | printw("^%c", ('@' + wc) & 0x7f); | ~^ ~~~~~~~~~~~~~~~~~ | | | | int long int | %ld -
pager.c:1478:22: warning: format ‘%o’ expects argument of type ‘unsigned int’, but argument 2 has type ‘wchar_t’ {aka ‘long int’} [-Wformat=] 1478 | printw("\\%03o", wc); | ~~~^ ~~ | | | | | wchar_t {aka long int} | unsigned int | %03lo -
signal.c:57:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 57 | write(1, "-", 1); | ^~~~~~~~~~~~~~~~ -
signal.c:50:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 50 | write(1, &digit, 1); | ^~~~~~~~~~~~~~~~~~~ -
signal.c:74:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 74 | write(1, str, len); | ^~~~~~~~~~~~~~~~~~ -
mutt.h:77:16: warning: ignoring return value of ‘fgets_unlocked’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 77 | # define fgets fgets_unlocked
-
mutt_dotlock.c:635:5: warning: ignoring return value of ‘link’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 635 | link(nfslockfile, lockfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~