Skip to content

Commit d36bfab

Browse files
authored
Merge pull request #9560 from JacobBarthelmeh/clang
fix for shadows global declaration warning
2 parents 9de98ce + a3072c7 commit d36bfab

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/internal.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42257,11 +42257,11 @@ static int DisplaySecTrustError(CFErrorRef error, SecTrustRef trust)
4225742257
/* Description */
4225842258
desc = CFErrorCopyDescription(error);
4225942259
if (desc) {
42260-
char buffer[256];
42261-
if (CFStringGetCString(desc, buffer, sizeof(buffer),
42260+
char buf[256];
42261+
if (CFStringGetCString(desc, buf, sizeof(buf),
4226242262
kCFStringEncodingUTF8)) {
4226342263
WOLFSSL_MSG_EX("SecTrustEvaluateWithError Error description: %s\n",
42264-
buffer);
42264+
buf);
4226542265
}
4226642266
CFRelease(desc);
4226742267
}

0 commit comments

Comments
 (0)