mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +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:
@@ -267,7 +267,6 @@ pack_soa_record(unsigned char *rdatap, size_t rbufsz, size_t *rdlenp,
|
|||||||
ISC_U32TO8_BE(rdatap, psoa->expire);
|
ISC_U32TO8_BE(rdatap, psoa->expire);
|
||||||
rdatap += 4;
|
rdatap += 4;
|
||||||
ISC_U32TO8_BE(rdatap, psoa->minimum);
|
ISC_U32TO8_BE(rdatap, psoa->minimum);
|
||||||
rdatap += 4;
|
|
||||||
used += (4 * 5);
|
used += (4 * 5);
|
||||||
|
|
||||||
SET_IF_NOT_NULL(rdlenp, used);
|
SET_IF_NOT_NULL(rdlenp, used);
|
||||||
|
Reference in New Issue
Block a user