aboutsummaryrefslogtreecommitdiffstats
path: root/codecs
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-05-22 03:26:52 +0100
committerJoão Valverde <j@v6e.pt>2016-05-22 05:39:36 +0000
commitbb0ec15bd99dedf5647bc419158a9ee2eaa19775 (patch)
tree06a6bc22a269a4877cd7d6eca99bc61df1252930 /codecs
parent7a23f422da609a1f291ae9e57d1e53a3b764b9fb (diff)
speex: Fix unknown option after ‘#pragma GCC diagnostic’ kind [-Werror=pragmas]
Change-Id: Ia6c5d2c19d991ee3ca3b1525b93121ee7cf15b1e Reviewed-on: https://code.wireshark.org/review/13919 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'codecs')
-rw-r--r--codecs/speex/resample.c4
1 files changed, 1 insertions, 3 deletions
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)