Description of problem: I just tried to compile Core2 Test1 package zsh-4.0.9-1 The compiler said zle_thingy.c(607): remark #592: variable "modsave" is used before its value is set The source code is struct modifier modsave; int ret, saveflag = 0; char *wname = *args++; if (!wname) { if (saveflag) zmod = modsave; Suggest init local variable modsave before first use. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
I think it is worth reporting this problem to upstream if it is still present in cvs.
Not sure what it should be initialised to though?
Still present in 4.2.0 btw.
Doesn't appear to matter - the code path is never taken On entry saveflag is always zero.