Snippets for adjtimex 1.29 from Fedora s390x
Sourced from https://kojipkgs.fedoraproject.org/packages/adjtimex/1.29/37.fc45/data/logs/s390x/build.log.
-
adjtimex.c:729:7: warning: variable ‘saveerr’ set but not used [-Wunused-but-set-variable=] 729 | int saveerr; | ^~~~~~~ -
adjtimex.c:1339:10: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable=] 1339 | int n, ret; | ^~~ -
adjtimex.c:1338:8: warning: variable ‘ch’ set but not used [-Wunused-but-set-variable=] 1338 | char ch, buf[64], *s; | ^~ -
adjtimex.c:547:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 547 | write (port_fd, &val, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ -
adjtimex.c:561:3: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 561 | read (port_fd, &ret, 1); | ^~~~~~~~~~~~~~~~~~~~~~~ -
adjtimex.c:1646:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1646 | fgets(buf, BUFLEN, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
adjtimex.c:1684:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1684 | fgets(buf, BUFLEN, stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~