diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-06-05 14:55:26 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-06-05 14:55:26 +0200 |
commit | 53f17912120e2f8732443fbb91fcf2c87123eaa5 (patch) | |
tree | c7a40ebfe3b487e4b47dff48af69e084e5fa77e6 /util-linux/scriptreplay.c | |
parent | d5f1b1bbe0a881f66b6bb6951fa54e553002c24d (diff) | |
download | busybox-w32-53f17912120e2f8732443fbb91fcf2c87123eaa5.tar.gz busybox-w32-53f17912120e2f8732443fbb91fcf2c87123eaa5.tar.bz2 busybox-w32-53f17912120e2f8732443fbb91fcf2c87123eaa5.zip |
*: 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>
Diffstat (limited to 'util-linux/scriptreplay.c')
-rw-r--r-- | util-linux/scriptreplay.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util-linux/scriptreplay.c b/util-linux/scriptreplay.c index 038dbdfe1..6474d38e8 100644 --- a/util-linux/scriptreplay.c +++ b/util-linux/scriptreplay.c | |||
@@ -30,9 +30,9 @@ int scriptreplay_main(int argc UNUSED_PARAM, char **argv) | |||
30 | usleep(delay * factor); | 30 | usleep(delay * factor); |
31 | bb_copyfd_exact_size(fd, STDOUT_FILENO, count); | 31 | bb_copyfd_exact_size(fd, STDOUT_FILENO, count); |
32 | } | 32 | } |
33 | #if ENABLE_FEATURE_CLEAN_UP | 33 | if (ENABLE_FEATURE_CLEAN_UP) { |
34 | close(fd); | 34 | close(fd); |
35 | fclose(tfp); | 35 | fclose(tfp); |
36 | #endif | 36 | } |
37 | return EXIT_SUCCESS; | 37 | return EXIT_SUCCESS; |
38 | } | 38 | } |