mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02:00
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:
parent
907701bcda
commit
587c414071
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user