aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--eztester.c1
2 files changed, 1 insertions, 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");