diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2018-09-03 06:17:20 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-09-05 23:02:34 +0300 |
commit | f2906e5f586d4ff238f5370b77717279bf5b0639 (patch) | |
tree | 74398b068d9c6e5596087a0592426f3f94127985 /lib | |
parent | a92e52137d3cdad60d5984936330ad0fca1b4a2b (diff) | |
download | u-boot-f2906e5f586d4ff238f5370b77717279bf5b0639.tar.xz |
lib/slre: remove superfluous assignment
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 <xypron.glpk@gmx.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/slre.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/slre.c b/lib/slre.c index e26d344865..969c46a859 100644 --- a/lib/slre.c +++ b/lib/slre.c @@ -703,8 +703,6 @@ int main(int argc, char *argv[]) (void) memset(caps, 0, sizeof(caps)); - res = 0; - res = slre_match(&slre, data, len, caps); printf("Result [%d]: %d\n", i, res); |