From bb0ec15bd99dedf5647bc419158a9ee2eaa19775 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Sun, 22 May 2016 03:26:52 +0100 Subject: =?UTF-8?q?speex:=20Fix=20unknown=20option=20after=20=E2=80=98#pra?= =?UTF-8?q?gma=20GCC=20diagnostic=E2=80=99=20kind=20[-Werror=3Dpragmas]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ia6c5d2c19d991ee3ca3b1525b93121ee7cf15b1e Reviewed-on: https://code.wireshark.org/review/13919 Petri-Dish: João Valverde Tested-by: Petri Dish Buildbot Reviewed-by: João Valverde --- codecs/speex/resample.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'codecs') diff --git a/codecs/speex/resample.c b/codecs/speex/resample.c index e2489b5fd7..88f29749b2 100644 --- a/codecs/speex/resample.c +++ b/codecs/speex/resample.c @@ -267,7 +267,7 @@ int main(int argc, char **argv) } #endif -DIAG_OFF(self-assign) /* SATURATE32PSHR */ +DIAG_OFF_CLANG(self-assign) /* SATURATE32PSHR */ #ifdef FIXED_POINT /* The slow way of computing a sinc for the table. Should improve that some day */ @@ -1203,5 +1203,3 @@ EXPORT const char *speex_resampler_strerror(int err) return "Unknown error. Bad error code or strange version mismatch."; } } - -DIAG_ON(self-assign) -- cgit v1.2.3