remove useless visibility application from static-linking-only code
[musl] / src / stdio / fwide.c
index fdf8e4b..8088e7a 100644 (file)
@@ -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;
 }