aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2018-12-03 14:11:06 +0100
committerThomas Huth <thuth@redhat.com>2018-12-12 10:01:13 +0100
commit65557f5ed9026f288654bfcfb696b581c1ef49c5 (patch)
treeb910bfa22a12a6a9356a30aa4c1a3f5fba7a09ba
parent6fa2cef205a60b5c5c3b058f53852416b885c455 (diff)
audio/alsaaudio: Remove compiler check around pragma
Both GCC v4.8 and Clang v3.4 support the -Waddress option, so we do not need the compiler version check here anymore. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
-rw-r--r--audio/alsaaudio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c
index 362a2276fd..635be73bf4 100644
--- a/audio/alsaaudio.c
+++ b/audio/alsaaudio.c
@@ -28,9 +28,7 @@
#include "audio.h"
#include "trace.h"
-#if QEMU_GNUC_PREREQ(4, 3)
#pragma GCC diagnostic ignored "-Waddress"
-#endif
#define AUDIO_CAP "alsa"
#include "audio_int.h"