projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove useless visibility application from static-linking-only code
[musl]
/
src
/
stdio
/
fwide.c
diff --git
a/src/stdio/fwide.c
b/src/stdio/fwide.c
index
fdf8e4b
..
8088e7a
100644
(file)
--- a/
src/stdio/fwide.c
+++ b/
src/stdio/fwide.c
@@
-7,7
+7,8
@@
int fwide(FILE *f, int mode)
{
FLOCK(f);
- if (!f->mode) mode = f->mode = NORMALIZE(mode);
+ if (!f->mode) f->mode = NORMALIZE(mode);
+ mode = f->mode;
FUNLOCK(f);
return mode;
}