fix: satisfy cppcheck const analysis
CI / lint (pull_request) Successful in 31s
CI / sanitizers (address) (pull_request) Successful in 38s
CI / sanitizers (undefined) (pull_request) Successful in 37s
CI / fuzz-build (pull_request) Failing after 14s
CI / coverage (pull_request) Successful in 32s
CI / build-and-test (pull_request) Successful in 1m15s
CI / valgrind (pull_request) Successful in 33s

This commit is contained in:
2026-08-15 12:30:52 +02:00
parent 8cca891b9a
commit 3b7f97853c
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -238,7 +238,7 @@ static void test_config_receive_truncated() {
EXPECT_TRUE(send_int(p[1], 1));
shutdown(p[1], SHUT_WR);
Config* cfg = config_receive(p[0]);
const Config* cfg = config_receive(p[0]);
EXPECT_NULL(cfg);
close(p[0]);
close(p[1]);