From 630f6aa6b94788f04fb728c71cade2d1092a7c45 Mon Sep 17 00:00:00 2001
From: Matt Johnston <matt@ucc.asn.au>
Date: Thu, 28 May 2020 22:02:03 +0800
Subject: [PATCH] initialise variable to stop warning

---
 cli-authpubkey.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cli-authpubkey.c b/cli-authpubkey.c
index fef0f27..42c4e3f 100644
--- a/cli-authpubkey.c
+++ b/cli-authpubkey.c
@@ -184,7 +184,7 @@ static void send_msg_userauth_pubkey(sign_key *key, enum signature_type sigtype,
 
 /* Returns 1 if a key was tried */
 int cli_auth_pubkey() {
-	enum signature_type sigtype;
+	enum signature_type sigtype = DROPBEAR_SIGNATURE_NONE;
 	TRACE(("enter cli_auth_pubkey"))
 
 #if DROPBEAR_CLI_AGENTFWD