diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-07-31 22:50:12 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-07-31 22:50:12 +0000 |
commit | 53d7ecb78e553905b28bc3bee521dbcf693b3125 (patch) | |
tree | 2b39a35387672a2da7634d5c0ec843143a640171 | |
parent | 4950bd8dabd6b4777aa10cc001a50c2232aed66c (diff) | |
download | busybox-w32-53d7ecb78e553905b28bc3bee521dbcf693b3125.tar.gz busybox-w32-53d7ecb78e553905b28bc3bee521dbcf693b3125.tar.bz2 busybox-w32-53d7ecb78e553905b28bc3bee521dbcf693b3125.zip |
Remove code that can't be reached.
git-svn-id: svn://busybox.net/trunk/busybox@15760 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | coreutils/uudecode.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/coreutils/uudecode.c b/coreutils/uudecode.c index 9dc5bb86d..06b2fc1c1 100644 --- a/coreutils/uudecode.c +++ b/coreutils/uudecode.c | |||
@@ -150,9 +150,7 @@ int uudecode_main(int argc, char **argv) | |||
150 | while ((line = bb_get_chomped_line_from_file(src_stream)) != NULL) { | 150 | while ((line = bb_get_chomped_line_from_file(src_stream)) != NULL) { |
151 | char *line_ptr = NULL; | 151 | char *line_ptr = NULL; |
152 | 152 | ||
153 | if (line == NULL) { | 153 | if (strncmp(line, "begin-base64 ", 13) == 0) { |
154 | break; | ||
155 | } else if (strncmp(line, "begin-base64 ", 13) == 0) { | ||
156 | line_ptr = line + 13; | 154 | line_ptr = line + 13; |
157 | decode_fn_ptr = read_base64; | 155 | decode_fn_ptr = read_base64; |
158 | } else if (strncmp(line, "begin ", 6) == 0) { | 156 | } else if (strncmp(line, "begin ", 6) == 0) { |