diff --git a/makefile b/makefile index 9f54076..6e726ce 100644 --- a/makefile +++ b/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: diff --git a/src/looper.c b/src/looper.c index 8120b43..95eb321 100644 --- a/src/looper.c +++ b/src/looper.c @@ -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) {