fix: move cppcheck suppression comment to same line as assignment

Co-authored-by: aider (deepseek/deepseek-reasoner) <aider@aider.chat>
This commit is contained in:
Loic Coenen
2026-05-09 13:23:32 +00:00
parent 2fa1d159e7
commit 934843e9b1

View File

@@ -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);