Snippets for alsa-utils 1.2.16 from Fedora i686
Sourced from https://kojipkgs.fedoraproject.org/packages/alsa-utils/1.2.16/2.fc45/data/logs/i686/build.log.
-
utils.c:94:15: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 94 | (void)write(fp, str, strlen(str)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -
utils.c:95:15: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 95 | (void)write(fp, ":", 1); | ^~~~~~~~~~~~~~~~~ -
utils.c:96:15: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 96 | (void)write(fp, reason, strlen(reason)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
utils.c:97:15: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 97 | (void)write(fp, ":", 1); | ^~~~~~~~~~~~~~~~~ -
utils.c:98:15: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 98 | (void)write(fp, sexitcode, strlen(sexitcode)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
utils.c:99:15: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 99 | (void)write(fp, "\n", 1); | ^~~~~~~~~~~~~~~~~~ -
amidi.c:742:33: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 742 | write(receive_file, buf, length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
alsa.c:258:37: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 3 has type ‘snd_pcm_uframes_t’ {aka ‘long unsigned int’} [-Wformat=] 258 | fprintf(bat->err, _("period size: %zd %s: %s(%d)\n"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
alsa.c:267:37: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 3 has type ‘snd_pcm_uframes_t’ {aka ‘long unsigned int’} [-Wformat=] 267 | fprintf(bat->err, _("buffer size: %zd %s: %s(%d)\n"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
alsa.c:275:37: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 3 has type ‘snd_pcm_uframes_t’ {aka ‘long unsigned int’} [-Wformat=] 275 | fprintf(bat->err, _("equal to buffer size (%zd)\n"), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
pre-processor.c:710:21: warning: variable ‘attr_val_count’ set but not used [-Wunused-but-set-variable=] 710 | int attr_val_count = 0; | ^~~~~~~~~~~~~~