check_ssh: Always initialize elapsed_time

This commit is contained in:
RincewindsHat 2024-08-28 23:39:57 +02:00
parent 2b8b66d41e
commit 04115904ad

View file

@ -222,7 +222,7 @@ ssh_connect (char *haddr, int hport, char *remote_version, char *remote_protocol
char *ssh_server = NULL;
static char *rev_no = VERSION;
struct timeval tv;
double elapsed_time;
double elapsed_time = 0;
gettimeofday(&tv, NULL);