From 25fa1bb8ca70a672f59d90719482718d391254d1 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Mon, 16 Mar 2015 16:41:00 +0000 Subject: [PATCH] fixes a compiler warning --- libs/opus/include/opus_defines.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/opus/include/opus_defines.h b/libs/opus/include/opus_defines.h index 265089f6..2aff05bf 100755 --- a/libs/opus/include/opus_defines.h +++ b/libs/opus/include/opus_defines.h @@ -113,11 +113,11 @@ extern "C" { /**Warning attributes for opus functions * NONNULL is not used in OPUS_BUILD to avoid the compiler optimizing out * some paranoid null checks. */ -#if defined(__GNUC__) && OPUS_GNUC_PREREQ(3, 4) -# define OPUS_WARN_UNUSED_RESULT __attribute__ ((__warn_unused_result__)) -#else +//#if defined(__GNUC__) && OPUS_GNUC_PREREQ(3, 4) +//# define OPUS_WARN_UNUSED_RESULT __attribute__ ((__warn_unused_result__)) +//#else # define OPUS_WARN_UNUSED_RESULT -#endif +//#endif #if !defined(OPUS_BUILD) && defined(__GNUC__) && OPUS_GNUC_PREREQ(3, 4) # define OPUS_ARG_NONNULL(_x) __attribute__ ((__nonnull__(_x))) #else