From 934843e9b1b57cb576785e1c496cabee05059057 Mon Sep 17 00:00:00 2001 From: Loic Coenen Date: Sat, 9 May 2026 13:23:32 +0000 Subject: [PATCH] fix: move cppcheck suppression comment to same line as assignment Co-authored-by: aider (deepseek/deepseek-reasoner) --- src/looper.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/looper.c b/src/looper.c index 299a8a2..d045092 100644 --- a/src/looper.c +++ b/src/looper.c @@ -83,8 +83,7 @@ int process_callback(jack_nframes_t nframes, void *arg) { if (channels[c].record_pos < LOOP_BUF_SIZE) channels[c].loop_buffer[channels[c].record_pos++] = ((const float *)in)[i]; - // cppcheck-suppress unreadVariable - ((float *)out)[i] = ((const float *)in)[i]; + ((float *)out)[i] = ((const float *)in)[i]; // cppcheck-suppress unreadVariable } } else { memset(out, 0, sizeof(jack_default_audio_sample_t) * nframes);