From: nekral-guest Date: Thu, 18 Mar 2010 00:03:29 +0000 (+0000) Subject: * lib/tcbfuncs.c: Ignore fflush() return value. X-Git-Tag: 4.1.5~329 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1d969818fd3195f8b0b7dfd4da3c3c26680d0abf;p=shadow * lib/tcbfuncs.c: Ignore fflush() return value. --- diff --git a/ChangeLog b/ChangeLog index fc7add98..4af996fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,7 @@ * lib/tcbfuncs.c: Do not free path before its last use. * lib/tcbfuncs.c: Include shadowio.h, needed for the spw_setdbname's prototype. + * lib/tcbfuncs.c: Ignore fflush() return value. 2010-03-17 Nicolas François diff --git a/lib/tcbfuncs.c b/lib/tcbfuncs.c index 85fa046d..21833380 100644 --- a/lib/tcbfuncs.c +++ b/lib/tcbfuncs.c @@ -66,7 +66,7 @@ shadowtcb_status shadowtcb_gain_priv() */ #define OUT_OF_MEMORY do { \ fprintf(stderr, _("%s: out of memory\n"), Prog); \ - fflush(stderr); \ + (void) fflush(stderr); \ } while(false) /* Returns user's tcb directory path relative to TCB_DIR. */