From 0410e6a4a2a26230243a4fa6bc8bde41ae252f3d Mon Sep 17 00:00:00 2001 From: John Ellson Date: Wed, 6 Jan 2016 14:15:35 -0500 Subject: [PATCH] janitor - fix ~20 -Wunused-value all from one macro --- lib/sfio/sfhdr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 || \ -- 2.40.0