mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Fix clang warnings in applications
Some fd would be used uninitialized if we goto exit early.
This commit is contained in:
parent
a97c015f89
commit
68821da01e
3 changed files with 3 additions and 3 deletions
|
|
@ -74,7 +74,7 @@ static void my_debug( void *ctx, int level, const char *str )
|
|||
|
||||
int main( int argc, char *argv[] )
|
||||
{
|
||||
int ret, len, server_fd;
|
||||
int ret, len, server_fd = -1;
|
||||
unsigned char buf[1024];
|
||||
const char *pers = "ssl_client1";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue