Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHan-Wen Nienhuys <hanwen@google.com>2022-01-20 18:12:04 +0300
committerJunio C Hamano <gitster@pobox.com>2022-01-20 22:31:52 +0300
commitf5f6a6cd47405f32c0217b980cb8ae1c5cce316c (patch)
tree9bacf692a7b991351e46390240ecf12e287fae8b /reftable
parentf7445865f260474082c8276dc2175ec23109c424 (diff)
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>
Diffstat (limited to 'reftable')
-rw-r--r--reftable/stack_test.c2
1 files changed, 1 insertions, 1 deletions
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)