Fix for possible uninitialized memSz in bio.c

This commit is contained in:
David Garske
2019-11-19 05:35:22 -08:00
parent 48d0b53074
commit 9a4614f6e1

View File

@@ -1310,9 +1310,8 @@ int wolfSSL_BIO_get_len(WOLFSSL_BIO *bio)
{ {
int len; int len;
#ifndef NO_FILESYSTEM #ifndef NO_FILESYSTEM
long memSz; long memSz = 0, curr = 0;
XFILE file; XFILE file;
long curr = 0;
#endif #endif
WOLFSSL_ENTER("wolfSSL_BIO_get_len"); WOLFSSL_ENTER("wolfSSL_BIO_get_len");