From: Yang Tse Date: Sat, 5 Jul 2008 03:31:41 +0000 (+0000) Subject: fix compiler warning: empty body in an if-statement X-Git-Tag: cares-1_5_3~390 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7820391cb98ec61c691bf8080b655ca409dc8ad4;p=curl fix compiler warning: empty body in an if-statement --- diff --git a/lib/sslgen.h b/lib/sslgen.h index b421fc362..f6eff057a 100644 --- a/lib/sslgen.h +++ b/lib/sslgen.h @@ -63,7 +63,7 @@ int Curl_ssl_check_cxn(struct connectdata *conn); #else /* When SSL support is not present, just define away these function calls */ #define Curl_ssl_init() 1 -#define Curl_ssl_cleanup() +#define Curl_ssl_cleanup() do { } while (0) #define Curl_ssl_connect(x,y) CURLE_FAILED_INIT #define Curl_ssl_connect_nonblocking(x,y,z) (z=z, CURLE_FAILED_INIT) #define Curl_ssl_close_all(x)