summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-06-16 12:25:01 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-06-16 12:25:01 -0700
commit13d85b14cd56e8ee78fc40ef712175d9bf8c58f7 (patch)
tree2b813187c4aeea224910c8458ec360084c1e888d /README
parent909a9bdf7ab143e1f0baaf9736baebd3cd79aacf (diff)
downloadsbc-13d85b14cd56e8ee78fc40ef712175d9bf8c58f7.tar.gz
sbcenc: Fix build warnings
This fixes the following warnings: In file included from /usr/include/stdio.h:894, from src/sbcenc.c:30: In function ‘fprintf’, inlined from ‘encode’ at src/sbcenc.c:160:3, inlined from ‘main’ at src/sbcenc.c:329:3: /usr/include/bits/stdio2.h:105:10: error: ‘srate’ may be used uninitialized [-Werror=maybe-uninitialized] 105 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 106 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/sbcenc.c: In function ‘main’: src/sbcenc.c:54:23: note: ‘srate’ was declared here 54 | int fd, size, srate, codesize, nframes; | ^~~~~ cc1: all warnings being treated as errors
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions