diff options
author | Nick Owens <mischief@offblast.org> | 2025-05-09 09:01:48 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2025-06-07 12:28:22 -0700 |
commit | 04215ce6a7477a39d3db43eb3a5e4939e21093d9 (patch) | |
tree | 96784bdc3c5d7ba203070c4735ec3c9279ed710a /src/modules/playit | |
parent | f44e16a30cfc3ec1e51e1b8e4c05982f2ed0e90a (diff) |
gcc 14.2 + glibc 2.40 produces this warning, converted to an error,
which fails the build.
setup.c: In function ‘setup_interactively’:
setup.c:149:32: error: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]
149 | (void) fgets(buf, sizeof(buf), stdin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c: In function ‘print_setup_as_args’:
main.c:454:24: error: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]
454 | (void) fgets(buf, sizeof(buf), stdin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Diffstat (limited to 'src/modules/playit')
0 files changed, 0 insertions, 0 deletions