commit 957590b1a406ef0afd3b6d182bc6ee42e14e7cc3 parent 262ba1332145ab1999857bec2517f368446b1ba0 Author: Hans Petter Selasky <[email protected]> Date: Wed, 2 Aug 2017 23:41:07 +0200 Fix for clang compile warnings. Signed-off-by: Hans Petter Selasky <[email protected]> Diffstat:
M | src/Effects/EQ.cpp | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Effects/EQ.cpp b/src/Effects/EQ.cpp @@ -80,8 +80,8 @@ rtosc::Ports EQ::ports = { memset(b, 0, sizeof(b)); eq->getFilter(a,b); - char type[MAX_EQ_BANDS*MAX_FILTER_STAGES*3*2+1] = {0}; - rtosc_arg_t val[MAX_EQ_BANDS*MAX_FILTER_STAGES*3*2] = {0}; + char type[MAX_EQ_BANDS*MAX_FILTER_STAGES*3*2+1] = {}; + rtosc_arg_t val[MAX_EQ_BANDS*MAX_FILTER_STAGES*3*2] = {}; for(int i=0; i<MAX_EQ_BANDS*MAX_FILTER_STAGES*3; ++i) { int stride = MAX_EQ_BANDS*MAX_FILTER_STAGES*3; type[i] = type[i+stride] = 'f';