These remind me of Android's Rage Against the Cage root (ignored return values).
/usr/local/bin/scan-build/ccc-analyzer -DHAVE_CONFIG_H -I. -I.. -I../gl
-I../intl -DLOCALEDIR=\"/home/jwalton/gpg-analyze/share/locale\"
-DGNUPG_BINDIR="\"/home/jwalton/gpg-analyze/bin\""
-DGNUPG_LIBEXECDIR="\"/home/jwalton/gpg-analyze/libexec\""
-DGNUPG_LIBDIR="\"/home/jwalton/gpg-analyze/lib/gnupg\""
-DGNUPG_DATADIR="\"/home/jwalton/gpg-analyze/share/gnupg\""
-DGNUPG_SYSCONFDIR="\"/home/jwalton/gpg-analyze/etc/gnupg\""
-DGNUPG_LOCALSTATEDIR="\"/home/jwalton/gpg-analyze/var\""
-I/home/jwalton/gpg-analyze/include -I/usr/local/include
-I/home/jwalton/gpg-analyze/include -I/home/jwalton/gpg-analyze/include
-I/home/jwalton/gpg-analyze/include -DWITHOUT_NPTH=1 -g3 -O1 -Wall
-Wno-pointer-sign -Wpointer-arith -MT libcommon_a-dotlock.o -MD -MP -MF
.deps/libcommon_a-dotlock.Tpo -c -o libcommon_a-dotlock.o `test -f 'dotlock.c'
echo './'`dotlock.c | |
dotlock.c: In function ‘use_hardlinks_p’:
dotlock.c:588:3: warning: ignoring return value of ‘link’, declared with
attribute warn_unused_result [-Wunused-result]
(void) link (tname, lname); ^
dotlock.c: In function ‘dotlock_take_unix’:
dotlock.c:1016:7: warning: ignoring return value of ‘link’, declared with
attribute warn_unused_result [-Wunused-result]
(void) link (h->tname, h->lockname); ^