1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Fix various possible uses of uninitialised variables

Patch from OpenSUSE, slightly adapted for 93u+m. Source:
https://build.opensuse.org/package/view_file/shells/ksh/ksh93-uninitialized.dif
This commit is contained in:
Martijn Dekker 2021-01-28 04:54:41 +00:00
parent c52cb93999
commit 288b6c6517
15 changed files with 39 additions and 32 deletions

View file

@ -1803,7 +1803,7 @@ retry2:
int ofs_size = 0;
regoff_t match[2*(MATCH_MAX+1)];
int nmatch, nmatch_prev, vsize_last;
char *vlast;
char *vlast = NIL(char*);
while(1)
{
if(!v)