mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-15 19:51:37 +00:00
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>
This commit is contained in:
parent
a92e52137d
commit
f2906e5f58
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue