aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-07-05 03:31:41 +0000
committerYang Tse <yangsita@gmail.com>2008-07-05 03:31:41 +0000
commit7820391cb98ec61c691bf8080b655ca409dc8ad4 (patch)
tree91dd6e6791794083d2f52795360a762b83fdb914 /lib
parent148866bc7324fc1f501383b9def0ed0451b7675f (diff)
fix compiler warning: empty body in an if-statement
Diffstat (limited to 'lib')
-rw-r--r--lib/sslgen.h2
1 files changed, 1 insertions, 1 deletions
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)