reftable: ignore remove() return value in stack_test.c
If the cleanup fails, there is nothing we can do. Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Han-Wen Nienhuys committed
Jan 20, 2022 at 15:12 UTC
f5f6a6cd47405f32c0217b980cb8ae1c5cce316c
1 file changed
+1
-1
reftable/stack_test.c
+1
-1
@@ -89,7 +89,7 @@ static void test_read_file(void)
89
EXPECT(0 == strcmp(want[i], names[i]));
90
}
91
free_names(names);
92
- remove(fn);
92
+ (void) remove(fn);
93
}
94
95
static void test_parse_names(void)