mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
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
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue