]> git.proxmox.com Git - mirror_qemu.git/commitdiff
audio/alsaaudio: Remove compiler check around pragma
authorThomas Huth <thuth@redhat.com>
Mon, 3 Dec 2018 13:11:06 +0000 (14:11 +0100)
committerThomas Huth <thuth@redhat.com>
Wed, 12 Dec 2018 09:01:13 +0000 (10:01 +0100)
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>
audio/alsaaudio.c

index 362a2276fd4f529a078286c9e251053edfbaab04..635be73bf4959d98288d0a7645a1b87c79b2ac16 100644 (file)
@@ -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"