Confirming it's not needed.
authorRob Landley <rob@landley.net>
Mon, 5 Jun 2006 17:32:44 +0000 (17:32 -0000)
committerRob Landley <rob@landley.net>
Mon, 5 Jun 2006 17:32:44 +0000 (17:32 -0000)
editors/sed.c

index 1b780d478e12c01e3802f0e9d540d4a71c16637b..71542d2ac86e2c72a480c9fc9945dd93d7b12f6c 100644 (file)
@@ -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);