*: reduce #ifdef forest

Remove unnecessary #if statements from the "more", "script", and
"scriptreplay" commands.  Bloatcheck says 0 bytes changed.

Signed-off-by: Rob Landley <rob@landley.net>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2009-06-05 14:55:26 +02:00
parent d5f1b1bbe0
commit 53f1791212
3 changed files with 35 additions and 47 deletions

View File

@ -30,9 +30,9 @@ int scriptreplay_main(int argc UNUSED_PARAM, char **argv)
usleep(delay * factor);
bb_copyfd_exact_size(fd, STDOUT_FILENO, count);
}
#if ENABLE_FEATURE_CLEAN_UP
close(fd);
fclose(tfp);
#endif
if (ENABLE_FEATURE_CLEAN_UP) {
close(fd);
fclose(tfp);
}
return EXIT_SUCCESS;
}