minor static analyzer fixes

This commit is contained in:
bol-van
2026-06-06 10:09:35 +03:00
parent 42a9b8e330
commit 1a1fc38c8e
2 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -587,7 +587,7 @@ static uint8_t tvb_get_varint(const uint8_t *tvb, uint64_t *value)
return 8;
}
// impossible case
if (*value) *value = 0;
if (value) *value = 0;
return 0;
}
static uint8_t tvb_get_size(uint8_t tvb)