From f2c30ac368c24874f1260d947ce27ebee1b28575 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Tue, 30 Aug 2022 11:50:16 -0700 Subject: [PATCH] Old Compiler Warning Cleanup (GCC 4.0.2) 1. Initialize a variable that might be used unset later. --- src/internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index c02365a1..a7263d9d 100644 --- a/src/internal.c +++ b/src/internal.c @@ -5038,7 +5038,7 @@ static int DoUserAuthRequestPublicKey(WOLFSSH* ssh, WS_UserAuthData* authData, WS_UserAuthData_PublicKey* pk = NULL; int ret = WS_SUCCESS; int authFailure = 0; - byte pkTypeId; + byte pkTypeId = ID_NONE; byte* pkOk = NULL; word32 pkOkSz = 0; #ifdef WOLFSSH_CERTS