mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-02-19 00:39:46 +00:00
Fix clang warnings in applications
Some fd would be used uninitialized if we goto exit early.
This commit is contained in:
committed by
Paul Bakker
parent
a97c015f89
commit
68821da01e
@@ -143,7 +143,7 @@ static void my_debug( void *ctx, int level, const char *str )
|
||||
static int ssl_test( struct options *opt )
|
||||
{
|
||||
int ret, i;
|
||||
int client_fd;
|
||||
int client_fd = -1;
|
||||
int bytes_to_read;
|
||||
int bytes_to_write;
|
||||
int offset_to_read = 0;
|
||||
|
||||
Reference in New Issue
Block a user