Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes: gportay@archlinux ~/src/iamroot $ make (...) cc -g -Werror -DNVERBOSE -fPIC -Wall -Wextra -D_GNU_SOURCE -DVERSION=23 -DPREFIX=/usr/local -c -o shadow.o /home/gportay/src/iamroot/shadow.c /home/gportay/src/iamroot/shadow.c: In function ‘fgetspent’: /home/gportay/src/iamroot/shadow.c:55:19: error: unused variable ‘fd’ [-Werror=unused-variable] 55 | const int fd = fileno(f); | ^~ /home/gportay/src/iamroot/shadow.c: In function ‘putspent’: /home/gportay/src/iamroot/shadow.c:91:19: error: unused variable ‘fd’ [-Werror=unused-variable] 91 | const int fd = fileno(f); | ^~ cc1: all warnings being treated as errors
- Loading branch information