commit | 587c414071f0b32a5385e517d23947289bc12dee | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue Apr 28 09:46:20 2020 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue Apr 28 09:46:23 2020 +0200 |
tree | b55cafc9a6803c8af97d2adf99a55ab791c94a24 | |
parent | 907701bcdac1253461ec41c7957bb2217af2cbff [diff] |
BUG/MINOR: checks: Remove wrong variable redeclaration When mysql-check option is parsed, the user variable is redeclared without any reason. thus the redeclared variable is removed. No backport needed.
diff --git a/src/checks.c b/src/checks.c index 4279290..774b28c 100644 --- a/src/checks.c +++ b/src/checks.c
@@ -6340,7 +6340,6 @@ cur_arg += 2; if (*args[cur_arg]) { - char *user; int packetlen, userlen; if (strcmp(args[cur_arg], "user") != 0) {