X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/eb8916857ce311840b64bcec0baae15829b0b810..77493011a78df00e5ba285d56fa97c816c088ceb:/print-ascii.c diff --git a/print-ascii.c b/print-ascii.c index 55e0ae72..2f05c387 100644 --- a/print-ascii.c +++ b/print-ascii.c @@ -153,16 +153,16 @@ hex_print_with_offset(netdissect_options *ndo, i = 0; while (--nshorts >= 0) { if ((i++ % 8) == 0) { - (void)ND_PRINT((ndo,"%s0x%04x: ", ident, oset)); - oset += HEXDUMP_BYTES_PER_LINE; + ND_PRINT((ndo,"%s0x%04x: ", ident, oset)); + oset += HEXDUMP_BYTES_PER_LINE; } s = *cp++; - (void)ND_PRINT((ndo," %02x%02x", s, *cp++)); + ND_PRINT((ndo," %02x%02x", s, *cp++)); } if (length & 1) { if ((i % 8) == 0) - (void)ND_PRINT((ndo,"%s0x%04x: ", ident, oset)); - (void)ND_PRINT((ndo," %02x", *cp)); + ND_PRINT((ndo,"%s0x%04x: ", ident, oset)); + ND_PRINT((ndo," %02x", *cp)); } }