[monitoring-plugins] check_ssh: Remove unused variable iteration
RincewindsHat
git at monitoring-plugins.org
Thu Oct 31 16:20:12 CET 2024
Module: monitoring-plugins
Branch: master
Commit: 829ec76f00f33f7015936dcccca60661ca459252
Author: RincewindsHat <12514511+RincewindsHat at users.noreply.github.com>
Date: Wed Aug 28 23:40:22 2024 +0200
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=829ec76
check_ssh: Remove unused variable iteration
---
plugins/check_ssh.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/plugins/check_ssh.c b/plugins/check_ssh.c
index 3c1a594..a3b5358 100644
--- a/plugins/check_ssh.c
+++ b/plugins/check_ssh.c
@@ -233,7 +233,6 @@ ssh_connect (char *haddr, int hport, char *remote_version, char *remote_protocol
char *output = (char *) calloc (BUFF_SZ + 1, sizeof(char));
- unsigned int iteration = 0;
ssize_t byte_offset = 0;
while ((version_control_string == NULL) && (recv_ret = recv(sd, output+byte_offset, BUFF_SZ - byte_offset, 0) > 0)) {
More information about the Commits
mailing list