svn commit: trunk/busybox/coreutils

landley at busybox.net landley at busybox.net
Mon Jul 31 22:50:12 UTC 2006


Author: landley
Date: 2006-07-31 15:50:12 -0700 (Mon, 31 Jul 2006)
New Revision: 15760

Log:
Remove code that can't be reached.


Modified:
   trunk/busybox/coreutils/uudecode.c


Changeset:
Modified: trunk/busybox/coreutils/uudecode.c
===================================================================
--- trunk/busybox/coreutils/uudecode.c	2006-07-31 20:21:45 UTC (rev 15759)
+++ trunk/busybox/coreutils/uudecode.c	2006-07-31 22:50:12 UTC (rev 15760)
@@ -150,9 +150,7 @@
 	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) {




More information about the busybox-cvs mailing list