Pushed. Thanks. Marek
On Sun, Apr 2, 2017 at 7:22 PM, Grazvydas Ignotas <nota...@gmail.com> wrote: > All the -Wunused-but-set-variable ones. > Found a way to do it with a oneliner. > > Signed-off-by: Grazvydas Ignotas <nota...@gmail.com> > --- > no commit access (currently pending) > > src/amd/addrlib/core/addrcommon.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/amd/addrlib/core/addrcommon.h > b/src/amd/addrlib/core/addrcommon.h > index 3911d79..66424a8 100644 > --- a/src/amd/addrlib/core/addrcommon.h > +++ b/src/amd/addrlib/core/addrcommon.h > @@ -66,11 +66,11 @@ > // Debug assertions used in AddrLib > > //////////////////////////////////////////////////////////////////////////////////////////////////// > #if defined(_WIN32) && (_MSC_VER >= 1400) > #define ADDR_ANALYSIS_ASSUME(expr) __analysis_assume(expr) > #else > - #define ADDR_ANALYSIS_ASSUME(expr) do { } while (0) > + #define ADDR_ANALYSIS_ASSUME(expr) do { (void)(expr); } while (0) > #endif > > #if DEBUG > #define ADDR_ASSERT(__e) \ > do { \ > -- > 2.7.4 > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev