projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c052576
)
Remove code that can't be reached.
author
Rob Landley
<rob@landley.net>
Mon, 31 Jul 2006 22:50:12 +0000
(22:50 -0000)
committer
Rob Landley
<rob@landley.net>
Mon, 31 Jul 2006 22:50:12 +0000
(22:50 -0000)
coreutils/uudecode.c
patch
|
blob
|
history
diff --git
a/coreutils/uudecode.c
b/coreutils/uudecode.c
index 9dc5bb86d4d82d083b254b178f59b30c2475acdb..06b2fc1c1b26354d4878b5bedce5d10dcac84eb7 100644
(file)
--- 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) {