From 829ec76f00f33f7015936dcccca60661ca459252 Mon Sep 17 00:00:00 2001 From: RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> Date: Wed, 28 Aug 2024 23:40:22 +0200 Subject: check_ssh: Remove unused variable iteration 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)) { -- cgit v0.10-9-g596f