提交 f2906e5f 编写于 作者: H Heinrich Schuchardt 提交者: Tom Rini

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: NHeinrich Schuchardt <xypron.glpk@gmx.de>
上级 a92e5213
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册