test(file): silence cppcheck constVariablePointer in empty-path test
CI / lint (push) Successful in 1m32s
CI / sanitizers (undefined) (push) Successful in 57s
CI / sanitizers (address) (push) Successful in 1m4s
CI / fuzz-build (push) Successful in 30s
CI / coverage (push) Successful in 49s
CI / build-and-test (push) Successful in 4m28s
CI / valgrind (push) Successful in 3m10s

This commit is contained in:
2026-09-13 01:25:29 +02:00
parent 08063b6d73
commit b7fbb56289
+1 -1
View File
@@ -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))); EXPECT_TRUE(send_n_data(p[1], &check_mtime_nsec, sizeof(check_mtime_nsec)));
bool skipped = true; 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_NULL(file);
EXPECT_FALSE(skipped); EXPECT_FALSE(skipped);