Skip to content

Commit b2a8d1c

Browse files
committed
Remove unused assignments
1 parent 2273178 commit b2a8d1c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/sigv4.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,7 +1167,7 @@ static void generateCredentialScope( const SigV4Parameters_t * pSigV4Params,
11671167
{
11681168
const SigV4KeyValuePair_t * pFirst, * pSecond = NULL;
11691169
size_t lenSmall = 0U;
1170-
int32_t compResult = -1;
1170+
int32_t compResult;
11711171

11721172
assert( pFirstVal != NULL );
11731173
assert( pSecondVal != NULL );
@@ -2250,7 +2250,7 @@ static int32_t completeHash( const uint8_t * pInput,
22502250
size_t outputLen,
22512251
const SigV4CryptoInterface_t * pCryptoInterface )
22522252
{
2253-
int32_t hashStatus = -1;
2253+
int32_t hashStatus;
22542254

22552255
assert( pOutput != NULL );
22562256
assert( outputLen > 0 );
@@ -2457,7 +2457,7 @@ static int32_t hmacFinal( HmacContext_t * pHmacContext,
24572457
char * pMac,
24582458
size_t macLen )
24592459
{
2460-
int32_t returnStatus = -1;
2460+
int32_t returnStatus;
24612461
uint8_t innerHashDigest[ SIGV4_HASH_MAX_DIGEST_LENGTH ];
24622462
size_t i = 0U;
24632463
const SigV4CryptoInterface_t * pCryptoInterface = NULL;

0 commit comments

Comments
 (0)