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: curl-7_19_0~402 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7820391cb98ec61c691bf8080b655ca409dc8ad4;p=thirdparty%2Fcurl.git fix compiler warning: empty body in an if-statement --- diff --git a/lib/sslgen.h b/lib/sslgen.h index b421fc3622..f6eff057aa 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)