From: Han-Wen Nienhuys Date: Thu, 20 Jan 2022 15:12:04 +0000 (+0000) Subject: reftable: ignore remove() return value in stack_test.c X-Git-Tag: v2.36.0-rc0~154^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f5f6a6cd47405f32c0217b980cb8ae1c5cce316c;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- diff --git a/reftable/stack_test.c b/reftable/stack_test.c index d628420e63..4b7292945c 100644 --- a/reftable/stack_test.c +++ b/reftable/stack_test.c @@ -89,7 +89,7 @@ static void test_read_file(void) EXPECT(0 == strcmp(want[i], names[i])); } free_names(names); - remove(fn); + (void) remove(fn); } static void test_parse_names(void)