summaryrefslogtreecommitdiff
path: root/print-rpki-rtr.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-11-01 15:48:55 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-11-01 15:50:00 +0100
commitca8ca82e22164ec56dd8db3668fdc7f217ea5411 (patch)
tree87b4d89e6b5d349d200b323eebadc7c6d43e4425 /print-rpki-rtr.c
parent25e59b15e9342fc580dad49ac58f2a43a5338958 (diff)
downloadtcpdump-ca8ca82e22164ec56dd8db3668fdc7f217ea5411.tar.gz
Fix some "Unchecked return value" found by Coverity
Diffstat (limited to 'print-rpki-rtr.c')
-rw-r--r--print-rpki-rtr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-rpki-rtr.c b/print-rpki-rtr.c
index 962c0bfa..36be3998 100644
--- a/print-rpki-rtr.c
+++ b/print-rpki-rtr.c
@@ -349,7 +349,7 @@ rpki_rtr_pdu_print(netdissect_options *ndo, const u_char *tptr, const u_int len,
goto invalid;
/* nd_printn() makes the bounds check */
ND_PRINT("%sError text: ", indent_string(indent+2));
- nd_printn(ndo, tptr + tlen, text_length, NULL);
+ (void)nd_printn(ndo, tptr + tlen, text_length, NULL);
}
}
break;