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.
This commit is contained in:
Christopher Faulet 2020-04-28 09:46:20 +02:00
parent 907701bcda
commit 587c414071

View File

@ -6340,7 +6340,6 @@ int proxy_parse_mysql_check_opt(char **args, int cur_arg, struct proxy *curpx, s
cur_arg += 2;
if (*args[cur_arg]) {
char *user;
int packetlen, userlen;
if (strcmp(args[cur_arg], "user") != 0) {