From 363659c859b1e6800e5568582af6b2a61f74405d Mon Sep 17 00:00:00 2001 From: lovelycuppatea Date: Thu, 11 Feb 2016 21:42:28 +0000 Subject: removed unread assignment in sed.c clang scan-build flags up this line as being unread, so clearing from code. --- toys/posix/sed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/posix/sed.c') 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++); -- cgit v1.2.3