diff --git a/usr.bin/hexdump/conv.c b/usr.bin/hexdump/conv.c index f137e1076e63..160158b0a5b6 100644 --- a/usr.bin/hexdump/conv.c +++ b/usr.bin/hexdump/conv.c @@ -58,6 +58,8 @@ conv_c(PR *pr, u_char *p, size_t bufsize) u_char peekbuf[MB_LEN_MAX]; u_char *op; + op = NULL; + if (pr->mbleft > 0) { str = "**"; pr->mbleft--;