[monitoring-plugins] Remove unused variable

RincewindsHat git at monitoring-plugins.org
Sat Jan 29 01:20:11 CET 2022


 Module: monitoring-plugins
 Branch: dev/check_ssh-patches
 Commit: 512bdc22c9ab543aa4748a8853f7dbc904bc0fb4
 Author: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
   Date: Sat Jan 29 01:17:14 2022 +0100
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=512bdc2

Remove unused variable

---

 plugins/check_ssh.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c
index edfedf5..9a1eaf1 100644
--- a/plugins/check_ssh.c
+++ b/plugins/check_ssh.c
@@ -221,7 +221,7 @@ ssh_connect (char *haddr, int hport, char *remote_version, char *remote_protocol
 	char *version_control_string = NULL;
 	char *output = NULL;
 	char *buffer = NULL;
-	char *tmp= NULL, *saveptr = NULL;
+	char *tmp= NULL;
 	char *ssh_proto = NULL;
 	char *ssh_server = NULL;
 	static char *rev_no = VERSION;



More information about the Commits mailing list