mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Remove unused variable in fflush (#129)
This commit is contained in:
parent
8a236433a2
commit
9c81729008
1 changed files with 2 additions and 2 deletions
|
@ -36,12 +36,12 @@
|
||||||
*/
|
*/
|
||||||
int fflush(FILE *f) {
|
int fflush(FILE *f) {
|
||||||
size_t i;
|
size_t i;
|
||||||
int rc, wrote;
|
int rc;
|
||||||
rc = 0;
|
rc = 0;
|
||||||
if (!f) {
|
if (!f) {
|
||||||
for (i = __fflush.handles.i; i; --i) {
|
for (i = __fflush.handles.i; i; --i) {
|
||||||
if ((f = __fflush.handles.p[i - 1])) {
|
if ((f = __fflush.handles.p[i - 1])) {
|
||||||
if ((wrote = fflush(f)) == -1) {
|
if (fflush(f) == -1) {
|
||||||
rc = -1;
|
rc = -1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue