projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
691985c
)
http.c: Fixed compilation warning
author
Steve Holme
<steve_holme@hotmail.com>
Wed, 21 May 2014 23:15:45 +0000
(
00:15
+0100)
committer
Steve Holme
<steve_holme@hotmail.com>
Wed, 21 May 2014 23:40:07 +0000
(
00:40
+0100)
warning: suggest braces around empty body in an 'else' statement
lib/http2.h
patch
|
blob
|
history
diff --git
a/lib/http2.h
b/lib/http2.h
index
5b14f21
..
ee95ef6
100644
(file)
--- 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 */