1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Initialize variable in _IO_new_file_close_it

The last change left a variable in some situations uninitialized.
This commit is contained in:
Ulrich Drepper
2011-05-14 10:59:54 -04:00
parent d6f67f7d83
commit ca408c157c
2 changed files with 4 additions and 0 deletions

View File

@ -175,6 +175,8 @@ _IO_new_file_close_it (fp)
else
write_status = _IO_SYSSEEK (fp, o, SEEK_SET) < 0 ? EOF : 0;
}
else
write_status = 0;
INTUSE(_IO_unsave_markers) (fp);