Add -Wall,-Werror compiler flags

This commit is contained in:
2022-11-16 23:01:50 -05:00
parent d2c59352bb
commit c67d4f4583
7 changed files with 15 additions and 5 deletions

View File

@@ -38,7 +38,6 @@ static void test_arena_get_all(void) {
}
static void test_arena_get_put_limit(void) {
struct test_5 *object = NULL;
struct test_5 *objects[NUM_OBJECTS] = {};
for (int i = 0; i < NUM_OBJECTS; i++) {
@@ -52,7 +51,6 @@ static void test_arena_get_put_limit(void) {
}
static void test_arena_get_over_limit(void) {
struct test_5 *object = NULL;
struct test_5 *objects[NUM_OBJECTS + 1] = {};
for (int i = 0; i < NUM_OBJECTS + 1; i++) {