From 71e9f7b187ff27b9d6d9d399c43dfb2f3c4cbe84 Mon Sep 17 00:00:00 2001 From: JP Appel Date: Sat, 20 Jul 2024 18:31:16 -0400 Subject: enabled warnings, removed unused variable --- Makefile | 2 +- eztester.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 018b920..2b49e84 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CC := gcc -CFLAGS := +CFLAGS := -Wall SRCS := eztester.c OBJS := eztester.o eztester_debug.o diff --git a/eztester.c b/eztester.c index 484c773..7c66eca 100644 --- a/eztester.c +++ b/eztester.c @@ -44,7 +44,6 @@ void eztester_register(eztester_list *test_list, const eztester_test new_test) { void print_test_results(const size_t tests_run, const size_t tests_passed, const size_t num_tests) { - const char *pass_str; printf("--------\nRan %zu of %zu tests\n", tests_run, num_tests); if (tests_run == num_tests && tests_run == tests_passed) { printf("All tests passed :)\n"); -- cgit v1.2.3