aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-07-31 22:50:12 +0000
committerRob Landley <rob@landley.net>2006-07-31 22:50:12 +0000
commit565bc33332e8e0719b2643aa85f3c82d0e0d077e (patch)
tree2b39a35387672a2da7634d5c0ec843143a640171
parentc052576821e75dff7424144c1cc0646ed68bd1c9 (diff)
downloadbusybox-565bc33332e8e0719b2643aa85f3c82d0e0d077e.tar.gz
Remove code that can't be reached.
-rw-r--r--coreutils/uudecode.c4
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)
while ((line = bb_get_chomped_line_from_file(src_stream)) != NULL) {
char *line_ptr = NULL;
- if (line == NULL) {
- break;
- } else if (strncmp(line, "begin-base64 ", 13) == 0) {
+ if (strncmp(line, "begin-base64 ", 13) == 0) {
line_ptr = line + 13;
decode_fn_ptr = read_base64;
} else if (strncmp(line, "begin ", 6) == 0) {