summaryrefslogtreecommitdiff
path: root/libs/audiographer
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-09-05 18:11:15 +0200
committerRobin Gareus <robin@gareus.org>2015-09-05 19:16:50 +0200
commit482bd4b51ccf960ccf9cb44f35bc8a5ce47aeb83 (patch)
tree83219c03b4881acdb0bb51c04f96572f5d62969c /libs/audiographer
parentc6272812e2a6ef691cfd06c5184bfe12d6e930ab (diff)
leave a hint for clang scan-build
Diffstat (limited to 'libs/audiographer')
-rw-r--r--libs/audiographer/private/gdither/gdither.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/audiographer/private/gdither/gdither.cc b/libs/audiographer/private/gdither/gdither.cc
index 75e16d7863..98d31c44c2 100644
--- a/libs/audiographer/private/gdither/gdither.cc
+++ b/libs/audiographer/private/gdither/gdither.cc
@@ -43,6 +43,7 @@
#include <stdlib.h>
#endif
+#include <assert.h>
#include <sys/types.h>
/* Lipshitz's minimally audible FIR, only really works for 46kHz-ish signals */
@@ -197,6 +198,7 @@ inline static void gdither_innner_loop(const GDitherType dt,
break;
case GDitherShaped:
/* Save raw value for error calculations */
+ assert (ss);
ideal = tmp;
/* Run FIR and add white noise */