From 826101e52bcb15c73bcbba17935bf03f2a511e82 Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Sun, 3 Mar 2019 23:01:41 +0300 Subject: [PATCH] Backport CLang warning fix --- src/chips/pmdwin/opna.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chips/pmdwin/opna.c b/src/chips/pmdwin/opna.c index e990202..3dbf164 100644 --- a/src/chips/pmdwin/opna.c +++ b/src/chips/pmdwin/opna.c @@ -1227,7 +1227,7 @@ static void Mix6I(OPNA *opna, int32_t *buffer, uint32_t nsamples, int activech) if (opna->mpratio < 16384) { for (i = 0; i < nsamples; i++) { - int32_t l, r, d; + int32_t l = 0, r = 0, d = 0; while (delta > 0) { ibuf[0] = 0; ibuf[1] = 0;