aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)