Skip to content

Commit 336af4d

Browse files
committed
JNI/JSSE: fix VS warning about uninitialized local pointer variable
1 parent 94281c3 commit 336af4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

native/com_wolfssl_WolfSSLSession.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,7 @@ JNIEXPORT jint JNICALL Java_com_wolfssl_WolfSSLSession_read__JLjava_nio_ByteBuff
14211421
jint position;
14221422
jint limit;
14231423
jboolean hasArray;
1424-
jbyteArray bufArr;
1424+
jbyteArray bufArr = NULL;
14251425

14261426
(void)jcl;
14271427

0 commit comments

Comments
 (0)