[U-Boot] [PATCH 1/1] lib/slre: remove superfluous assignment

2018-09-02 Thread Heinrich Schuchardt
It makes no sense to assign a value to 'res' if the next use of the variable is an assignment. Signed-off-by: Heinrich Schuchardt --- lib/slre.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/slre.c b/lib/slre.c index e26d344865..969c46a859 100644 --- a/lib/slre.c +++ b/lib/slre.c @@

Re: [U-Boot] [PATCH 1/1] lib/slre: remove superfluous assignment

2018-03-18 Thread Tom Rini
On Sun, Mar 18, 2018 at 11:12:10PM +0100, Heinrich Schuchardt wrote: > It makes to assign a value to 'res' if the next use of the variable is an > assignment. I think you meant "It makes no sense to " ... Thanks (and for all of the other load of fixes you've been posting)! -- Tom

[U-Boot] [PATCH 1/1] lib/slre: remove superfluous assignment

2018-03-18 Thread Heinrich Schuchardt
It makes to assign a value to 'res' if the next use of the variable is an assignment. Signed-off-by: Heinrich Schuchardt --- lib/slre.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/slre.c b/lib/slre.c index e26d344865..969c46a859 100644 --- a/lib/slre.c +++

[U-Boot] [PATCH 1/1] lib/slre: remove superfluous assignment

2017-05-08 Thread Heinrich Schuchardt
The value assigned to saved_offset is never used. The problem was indicated by clang scan-build. Signed-off-by: Heinrich Schuchardt --- lib/slre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/slre.c b/lib/slre.c index f90749f8ed..e26d344865 100644