*: 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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user