[monitoring-plugins] check_mysql: remove unused global variables
Lorenz Kästle
git at monitoring-plugins.org
Fri Sep 6 02:00:11 CEST 2024
Module: monitoring-plugins
Branch: master
Commit: 584cca3a96845d7720c34358340c98c31c765fc4
Author: Lorenz Kästle <lorenz.kaestle at netways.de>
Date: Wed Aug 28 19:19:16 2024 +0200
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=584cca3
check_mysql: remove unused global variables
---
plugins/check_mysql.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c
index 6a7daf1..a2a5e32 100644
--- a/plugins/check_mysql.c
+++ b/plugins/check_mysql.c
@@ -59,7 +59,7 @@ bool ssl = false;
char *opt_file = NULL;
char *opt_group = NULL;
unsigned int db_port = MYSQL_PORT;
-int check_slave = 0, warn_sec = 0, crit_sec = 0;
+int check_slave = 0;
int ignore_auth = 0;
int verbose = 0;
More information about the Commits
mailing list