Silence the gcc warning: 'op' may be used uninitialized in this function

Approved by:	kevans
This commit is contained in:
Li-Wen Hsu 2018-01-20 15:37:47 +00:00
parent 50a53194f6
commit 08c80489cd

View File

@ -58,6 +58,8 @@ conv_c(PR *pr, u_char *p, size_t bufsize)
u_char peekbuf[MB_LEN_MAX]; u_char peekbuf[MB_LEN_MAX];
u_char *op; u_char *op;
op = NULL;
if (pr->mbleft > 0) { if (pr->mbleft > 0) {
str = "**"; str = "**";
pr->mbleft--; pr->mbleft--;