From b7fbb5628960515d6111e8937557d2317d4d5e27 Mon Sep 17 00:00:00 2001 From: TapTap Date: Sun, 13 Sep 2026 01:25:29 +0200 Subject: [PATCH] test(file): silence cppcheck constVariablePointer in empty-path test --- tests/test_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_file.c b/tests/test_file.c index 928f544..4d53b70 100644 --- a/tests/test_file.c +++ b/tests/test_file.c @@ -1431,7 +1431,7 @@ static void test_receive_incremental_check_empty_path() { EXPECT_TRUE(send_n_data(p[1], &check_mtime_nsec, sizeof(check_mtime_nsec))); bool skipped = true; - File* file = receive_incremental_check(p[0], cfg, &skipped); + const File* file = receive_incremental_check(p[0], cfg, &skipped); EXPECT_NULL(file); EXPECT_FALSE(skipped);