summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/t0020-dirent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/t0020-dirent.c b/tests/t0020-dirent.c
index 966f3c578..e8abd2f25 100644
--- a/tests/t0020-dirent.c
+++ b/tests/t0020-dirent.c
@@ -105,6 +105,7 @@ static int one_entry(void *state, char *path)
}
}
test_die("unexpected path \"%s\"", path);
+ return -1;
}
@@ -188,6 +189,7 @@ static walk_data empty = {
static int dont_call_me(void *state, char *path)
{
test_die("dont_call_me: unexpected callback!");
+ return -1;
}
BEGIN_TEST(empty)