commit | 68821da01eb6edc1b525b0582bf70c38ca875341 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Mon Sep 16 12:34:33 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Wed Sep 18 14:34:33 2013 +0200 |
tree | 9664d929fd7b07e4745e833ea18b0a2ada82e28c | |
parent | a97c015f897c34cd77700390ffb93aeda3ac9b26 [diff] [blame] |
Fix clang warnings in applications Some fd would be used uninitialized if we goto exit early.
diff --git a/programs/test/ssl_test.c b/programs/test/ssl_test.c index c8461dc..9c0075f 100644 --- a/programs/test/ssl_test.c +++ b/programs/test/ssl_test.c
@@ -143,7 +143,7 @@ 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;