Bugzilla – Bug 158071
xjdic-2.4-106: local variable used before set
Last modified: 2006-03-15 15:33:50 UTC
I just tried to compile package xjdic-2.4-106 with the Intel C compiler. It said xjdfrontend.c(1150): warning #592: variable "it" is used before its value is set The source code is int32_t it; DicNum = CurrDic; khi = 0; klo = 0; vline[0] = 0; xjdserver (XJ_FIND, DicNum,it, strlen(vstr), vstr, &xjresp, &respos, &roff, &rlen, repstr, &DicLoc); Suggest initialise local variable "it" before first use.
FIXED (Submitted to STABLE).
Created attachment 73041 [details] bugzilla-158071-local-variable-not-initialized.patch The patch used.
Reported to upstream author.