mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Remove dead code in dns_message_sectiontotext
Following the merge of !10302 this code to reset the result code on ISC_R_NOMORE is no longer needed.
This commit is contained in:
parent
cbffddcdb9
commit
31968a7534
1 changed files with 0 additions and 3 deletions
|
|
@ -3347,9 +3347,6 @@ dns_message_sectiontotext(dns_message_t *msg, dns_section_t section,
|
|||
INDENT(style);
|
||||
ADD_STRING(target, "\n");
|
||||
}
|
||||
if (result == ISC_R_NOMORE) {
|
||||
result = ISC_R_SUCCESS;
|
||||
}
|
||||
|
||||
cleanup:
|
||||
msg->indent.count = saved_count;
|
||||
|
|
|
|||
Loading…
Reference in a new issue