From d6ea28ee6b6ec6f010a1b1099ccb132636c96e4b Mon Sep 17 00:00:00 2001 From: "arthur.barr@uk.ibm.com" Date: Mon, 30 May 2022 14:29:22 +0100 Subject: [PATCH] Fix build warning by removing unused variable --- authservice/mqhtpass/src/mqhtpass.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/authservice/mqhtpass/src/mqhtpass.c b/authservice/mqhtpass/src/mqhtpass.c index 516e6ce..ba9dd5a 100644 --- a/authservice/mqhtpass/src/mqhtpass.c +++ b/authservice/mqhtpass/src/mqhtpass.c @@ -1,5 +1,5 @@ /* -© Copyright IBM Corporation 2021 +© Copyright IBM Corporation 2021, 2022 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -227,7 +227,6 @@ static void MQENTRY mqhtpass_authenticate_user( PMQLONG pReason) { char *spuser = NULL; - char *sppass = NULL; // By default, return a warning, which indicates to MQ that this // authorization service hasn't authenticated the user. *pCompCode = MQCC_WARNING;