diff options
| author | Rob Landley <rob@landley.net> | 2006-07-31 22:50:12 +0000 |
|---|---|---|
| committer | Rob Landley <rob@landley.net> | 2006-07-31 22:50:12 +0000 |
| commit | 565bc33332e8e0719b2643aa85f3c82d0e0d077e (patch) | |
| tree | 2b39a35387672a2da7634d5c0ec843143a640171 /coreutils | |
| parent | c052576821e75dff7424144c1cc0646ed68bd1c9 (diff) | |
| download | busybox-w32-565bc33332e8e0719b2643aa85f3c82d0e0d077e.tar.gz busybox-w32-565bc33332e8e0719b2643aa85f3c82d0e0d077e.tar.bz2 busybox-w32-565bc33332e8e0719b2643aa85f3c82d0e0d077e.zip | |
Remove code that can't be reached.
Diffstat (limited to 'coreutils')
| -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) { |
