Skip to content

Commit

Permalink
removed unread assignment in sed.c
Browse files Browse the repository at this point in the history
clang scan-build flags up this line as being unread, so clearing from code.
  • Loading branch information
lovelycuppatea authored and landley committed Feb 12, 2016
1 parent d5a17e1 commit 363659c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toys/posix/sed.c
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ static char *unescape_delimited_string(char **pstr, char *delim, int regex)
{
char *to, *from, mode = 0, d;

to = from = *pstr;
from = *pstr;
if (!delim || !*delim) {
if (!(d = *(from++))) return 0;
if (d == '\\') d = *(from++);
Expand Down

0 comments on commit 363659c

Please sign in to comment.