mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03: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
@ -96,7 +96,7 @@ int main( int argc, char *argv[] )
|
||||
{
|
||||
int ret, len, cnt = 0, pid;
|
||||
int listen_fd;
|
||||
int client_fd;
|
||||
int client_fd = -1;
|
||||
unsigned char buf[1024];
|
||||
const char *pers = "ssl_fork_server";
|
||||
|
||||
|
Reference in New Issue
Block a user