summaryrefslogtreecommitdiff
path: root/sample/http-connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'sample/http-connect.c')
-rw-r--r--sample/http-connect.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sample/http-connect.c b/sample/http-connect.c
index b08bb25d..53f816d3 100644
--- a/sample/http-connect.c
+++ b/sample/http-connect.c
@@ -59,11 +59,8 @@ static void get_cb(struct evhttp_request *req, void *arg)
{
ev_ssize_t len;
struct evbuffer *evbuf;
- struct evhttp_connection *evcon;
VERIFY(req);
- evcon = evhttp_request_get_connection(req);
- VERIFY(evcon);
evbuf = evhttp_request_get_input_buffer(req);
len = evbuffer_get_length(evbuf);