aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-05-22 00:15:45 +0100
committerSteve Holme <steve_holme@hotmail.com>2014-05-22 00:40:07 +0100
commitc6d5f80d8b6ec795a3f88833d6f7c471fe8f2b4c (patch)
tree2a59ce8aed1a8930789dcf4e4435faf195d6c9cd
parent691985ceb0d17d2f830c41798d1e78201240a817 (diff)
http.c: Fixed compilation warning
warning: suggest braces around empty body in an 'else' statement
-rw-r--r--lib/http2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http2.h b/lib/http2.h
index 5b14f21e2..ee95ef656 100644
--- a/lib/http2.h
+++ b/lib/http2.h
@@ -43,7 +43,7 @@ int Curl_http2_switched(struct connectdata *conn);
#define Curl_http2_send_request(x)
#define Curl_http2_request_upgrade(x,y) CURLE_OK
#define Curl_http2_switched(x)
-#define Curl_http2_setup(x)
+#define Curl_http2_setup(x) Curl_nop_stmt
#endif
#endif /* HEADER_CURL_HTTP2_H */