summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley2006-06-05 17:32:44 +0000
committerRob Landley2006-06-05 17:32:44 +0000
commit12d87550a3b7b85d2c03e45261e059855db04d1b (patch)
tree47a1c673ba144d90afd8e2bcbc2862c96960f1d9
parentbc291dc7312b2bda82ca8977523e29a5adff5752 (diff)
downloadbusybox-12d87550a3b7b85d2c03e45261e059855db04d1b.zip
busybox-12d87550a3b7b85d2c03e45261e059855db04d1b.tar.gz
Confirming it's not needed.
-rw-r--r--editors/sed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/sed.c b/editors/sed.c
index 1b780d4..71542d2 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -481,7 +481,7 @@ static void add_cmd(char *cmdstr)
cmdstr = bb_xasprintf("%s\n%s", bbg.add_cmd_line, cmdstr);
free(bbg.add_cmd_line);
bbg.add_cmd_line = cmdstr;
- } else bbg.add_cmd_line=NULL; /* XXX: erm.. bbg.add_cmd_line was 0 and we set it to *0 here why? */
+ }
/* If this line ends with backslash, request next line. */
temp=strlen(cmdstr);