fix: complete issues #201-#206 remediation #208

Merged
TapTap merged 17 commits from feat/triage-complete into dev 2026-08-11 21:06:49 +02:00
2 changed files with 3 additions and 0 deletions
Showing only changes of commit 33e416324f - Show all commits
+1
View File
@@ -138,6 +138,7 @@ static void test_to_disk_does_not_follow_symlink() {
FILE* fp = fopen(outside, "rb");
char buf[16] = {0};
EXPECT_NOT_NULL(fp);
// cppcheck-suppress knownConditionTrueFalse
if (!fp)
return;
size_t read_count = fread(buf, 1, sizeof(buf) - 1, fp);
+2
View File
@@ -91,7 +91,9 @@ static void test_sender_zero_capacity() {
cfg->send_directory = str_dup("/src");
cfg->receive_root_directory = str_dup("/dst");
// cppcheck-suppress constVariablePointer
Queue* const q1 = queue_create(0, NULL);
// cppcheck-suppress constVariablePointer
Queue* const q2 = queue_create(0, NULL);
EXPECT_NULL(q1);
EXPECT_NULL(q2);