Skip to content

Commit 4fc778c

Browse files
warning for 'type' may be used uninitialiized
1 parent 25db90a commit 4fc778c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ssl_api_pk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ static int check_cert_key_dev(word32 keyOID, byte* privKey, word32 privSz,
5151
const byte* pubKey, word32 pubSz, int label, int id, void* heap, int devId)
5252
{
5353
int ret = 0;
54-
int type;
54+
int type = 0;
5555
void *pkey = NULL;
5656

5757
if (privKey == NULL) {

0 commit comments

Comments
 (0)