From 7820391cb98ec61c691bf8080b655ca409dc8ad4 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 5 Jul 2008 03:31:41 +0000 Subject: [PATCH] fix compiler warning: empty body in an if-statement --- lib/sslgen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sslgen.h b/lib/sslgen.h index b421fc3..f6eff05 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) -- 2.7.4