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--;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"