2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Resolve scan-build issue in dummylib.c

Value stored to 'rdatap' is never read. Remove the line which has no
effect.
This commit is contained in:
Tom Krizek
2023-08-09 13:42:23 +02:00
parent 21980b43b8
commit 145bec51a0

View File

@@ -267,7 +267,6 @@ pack_soa_record(unsigned char *rdatap, size_t rbufsz, size_t *rdlenp,
ISC_U32TO8_BE(rdatap, psoa->expire);
rdatap += 4;
ISC_U32TO8_BE(rdatap, psoa->minimum);
rdatap += 4;
used += (4 * 5);
SET_IF_NOT_NULL(rdlenp, used);