From: Adrian Chiris Date: Thu, 31 Jul 2014 15:18:59 +0000 (+0300) Subject: fixed warrnings when compiling with gcc 4.8 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=7343483b58761823abf9fa90b1e7229a6cc05a02;p=~adrianc%2Fmstflint.git fixed warrnings when compiling with gcc 4.8 --- diff --git a/mflash/mflash.c b/mflash/mflash.c index 1dc9477..cf3e2f2 100644 --- a/mflash/mflash.c +++ b/mflash/mflash.c @@ -2168,7 +2168,7 @@ int icmd_init(mflash *mfl) #else int icmd_init(mflash *mfl) { - mfl = NULL; + (void)mfl; return MFE_NOT_IMPLEMENTED; } #endif