mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-25 04:25:44 +00:00
avoid -Wmaybe-uninitialized when buiding with gcc11
Signed-off-by: Shawn Carey <shawn.carey@netfoundry.io>
This commit is contained in:
parent
bb66dac971
commit
63ee881a9b
|
@ -2662,7 +2662,7 @@ exit:
|
||||||
void ssl_message_mock_uninitialized( )
|
void ssl_message_mock_uninitialized( )
|
||||||
{
|
{
|
||||||
enum { MSGLEN = 10 };
|
enum { MSGLEN = 10 };
|
||||||
unsigned char message[MSGLEN], received[MSGLEN];
|
unsigned char message[MSGLEN] = {0}, received[MSGLEN];
|
||||||
mbedtls_mock_socket client, server;
|
mbedtls_mock_socket client, server;
|
||||||
mbedtls_test_message_queue server_queue, client_queue;
|
mbedtls_test_message_queue server_queue, client_queue;
|
||||||
mbedtls_test_message_socket_context server_context, client_context;
|
mbedtls_test_message_socket_context server_context, client_context;
|
||||||
|
|
Loading…
Reference in a new issue