]> granicus.if.org Git - curl/commitdiff
fix compiler warning: empty body in an if-statement
authorYang Tse <yangsita@gmail.com>
Sat, 5 Jul 2008 03:31:41 +0000 (03:31 +0000)
committerYang Tse <yangsita@gmail.com>
Sat, 5 Jul 2008 03:31:41 +0000 (03:31 +0000)
lib/sslgen.h

index b421fc3622220f10f39a70f82f9c3fb1db7d73cf..f6eff057aaca84261b4728fde703db81e96b44d5 100644 (file)
@@ -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)