changeset 1696:d18fa38c1fd4

initialise variable to stop warning
author Matt Johnston <matt@ucc.asn.au>
date Thu, 28 May 2020 22:02:03 +0800
parents 39534eedf429
children 789466c5956b
files cli-authpubkey.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cli-authpubkey.c	Wed May 27 00:05:15 2020 +0800
+++ b/cli-authpubkey.c	Thu May 28 22:02:03 2020 +0800
@@ -184,7 +184,7 @@
 
 /* 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