Date: Sat, 20 Jan 2018 15:37:47 +0000 (UTC) From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r328200 - head/usr.bin/hexdump Message-ID: <201801201537.w0KFblPD078037@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lwhsu (ports committer) Date: Sat Jan 20 15:37:47 2018 New Revision: 328200 URL: https://svnweb.freebsd.org/changeset/base/328200 Log: Silence the gcc warning: 'op' may be used uninitialized in this function Approved by: kevans Modified: head/usr.bin/hexdump/conv.c Modified: head/usr.bin/hexdump/conv.c ============================================================================== --- head/usr.bin/hexdump/conv.c Sat Jan 20 14:59:37 2018 (r328199) +++ head/usr.bin/hexdump/conv.c Sat Jan 20 15:37:47 2018 (r328200) @@ -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--;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801201537.w0KFblPD078037>