Make it clear the empty body sections are not accidental.
This commit is contained in:
parent
3f079bfb54
commit
c63b85b866
|
@ -1314,9 +1314,9 @@ static unsigned split_oflags(unsigned oflags)
|
|||
unsigned unsupp; /* until we support everything */
|
||||
|
||||
if (oflags & MSVCRT__O_APPEND) wxflags |= WX_APPEND;
|
||||
if (oflags & MSVCRT__O_BINARY) ;
|
||||
if (oflags & MSVCRT__O_BINARY) {/* Nothing to do */}
|
||||
else if (oflags & MSVCRT__O_TEXT) wxflags |= WX_TEXT;
|
||||
else if (*__p__fmode() & MSVCRT__O_BINARY) ;
|
||||
else if (*__p__fmode() & MSVCRT__O_BINARY) {/* Nothing to do */}
|
||||
else wxflags |= WX_TEXT; /* default to TEXT*/
|
||||
if (oflags & MSVCRT__O_NOINHERIT) wxflags |= WX_DONTINHERIT;
|
||||
|
||||
|
|
Loading…
Reference in New Issue