summaryrefslogtreecommitdiff
path: root/usr.bin/hexdump
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2018-01-20 15:37:47 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2018-01-20 15:37:47 +0000
commit08c80489cdac17e710164ee81a8094362b61f574 (patch)
tree25c164f84dd585b25fdf72054419aabb1fd881a2 /usr.bin/hexdump
parent50a53194f63cdc9d0c6478a9409f09d0e723361a (diff)
downloadsrc-test2-08c80489cdac17e710164ee81a8094362b61f574.tar.gz
src-test2-08c80489cdac17e710164ee81a8094362b61f574.zip
Notes
Diffstat (limited to 'usr.bin/hexdump')
-rw-r--r--usr.bin/hexdump/conv.c2
1 files changed, 2 insertions, 0 deletions
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--;