diff options
author | lovelycuppatea <lovelycuppatea@users.noreply.github.com> | 2016-02-11 21:42:28 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-02-11 20:45:33 -0600 |
commit | 363659c859b1e6800e5568582af6b2a61f74405d (patch) | |
tree | da9599b5e5386bf9026194d70bbea738329e8850 /toys | |
parent | d5a17e1a219d30a923aad2cbcb7110bc9942c5d8 (diff) | |
download | toybox-363659c859b1e6800e5568582af6b2a61f74405d.tar.gz |
removed unread assignment in sed.c
clang scan-build flags up this line as being unread, so clearing from code.
Diffstat (limited to 'toys')
-rw-r--r-- | toys/posix/sed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/sed.c b/toys/posix/sed.c index 30d8a154..013dc6b8 100644 --- a/toys/posix/sed.c +++ b/toys/posix/sed.c @@ -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++); |