libast: optget(3): fix some uninitialised variables
This is a part of this OpenSUSE patch: https://build.opensuse.org/package/view_file/shells/ksh/ksh93-gcc.dif
This commit is contained in:
parent
0684806d47
commit
627df2b19a
|
|
@ -4388,9 +4388,9 @@ optget(register char** argv, const char* oopts)
|
|||
*/
|
||||
|
||||
opt_info.assignment = 0;
|
||||
num = 1;
|
||||
w = v = 0;
|
||||
x = 0;
|
||||
nov = no = num = 1;
|
||||
e = w = v = 0;
|
||||
n = x = 0;
|
||||
for (;;)
|
||||
{
|
||||
if (!opt_info.offset)
|
||||
|
|
|
|||
Loading…
Reference in New Issue