fix: remove unused variable and suppress cppcheck warnings
Co-authored-by: aider (deepseek/deepseek-reasoner) <aider@aider.chat>
This commit is contained in:
2
makefile
2
makefile
@@ -22,7 +22,7 @@ clean:
|
||||
rm -f looper integration_test src/*.o
|
||||
|
||||
check:
|
||||
cppcheck --enable=all --error-exitcode=1 --suppress=missingIncludeSystem --suppress=normalCheckLevelMaxBranches src/*.c --library=posix .
|
||||
cppcheck --enable=all --error-exitcode=1 --suppress=missingIncludeSystem --suppress=normalCheckLevelMaxBranches src/*.c --library=posix
|
||||
|
||||
# Optional: Format code using clang-format
|
||||
format:
|
||||
|
||||
@@ -60,7 +60,6 @@ static int ensure_capacity(jack_client_t *client, int idx) {
|
||||
}
|
||||
|
||||
static void apply_command(command_t cmd) {
|
||||
struct channel_t *cur = get_channels_array();
|
||||
int cap = atomic_load(&channel_capacity);
|
||||
|
||||
switch (cmd.type) {
|
||||
|
||||
Reference in New Issue
Block a user