Fix indentation typo in cleanup_closed()

Not sure how this mistake was made in the first place. Identified by a
dead code warning from Visual Studio 6.0.
pull/17/head
Christopher Wellons 2018-04-17 20:43:19 -04:00
parent 3b1127a644
commit 274b080e12
1 changed files with 3 additions and 2 deletions

View File

@ -62,9 +62,10 @@ cleanup_closed(FILE *file)
{
unsigned i;
for (i = 0; i < sizeof(cleanup) / sizeof(*cleanup); i++) {
if (file == cleanup[i].file)
if (file == cleanup[i].file) {
cleanup[i].file = 0;
return;
return;
}
}
abort();
}