From: John Ellson Date: Wed, 6 Jan 2016 19:15:35 +0000 (-0500) Subject: janitor - fix ~20 -Wunused-value all from one macro X-Git-Tag: TRAVIS_CI_BUILD_EXPERIMENTAL~67 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0410e6a4a2a26230243a4fa6bc8bde41ae252f3d;p=graphviz janitor - fix ~20 -Wunused-value all from one macro --- diff --git a/lib/sfio/sfhdr.h b/lib/sfio/sfhdr.h index 5e9be9d73..80907db10 100644 --- a/lib/sfio/sfhdr.h +++ b/lib/sfio/sfhdr.h @@ -711,7 +711,7 @@ extern "C" { #define SF_ECONT 3 /* can continue normally */ #define SETLOCAL(f) ((f)->mode |= SF_LOCAL) -#define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (v)) +#define GETLOCAL(f,v) ((v) = ((f)->mode&SF_LOCAL), (f)->mode &= ~SF_LOCAL, (void)(v)) #define SFWRALL(f) ((f)->mode |= SF_RV) #define SFISALL(f,v) ((((v) = (f)->mode&SF_RV) ? ((f)->mode &= ~SF_RV) : 0), \ ((v) || (f)->extent < 0 || \