From: Nick Mathewson Date: Thu, 18 Sep 2014 15:54:04 +0000 (-0400) Subject: Fix a dead-code warning in unit tests. CID 1193548 X-Git-Tag: release-2.1.5-beta~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c119f2416c52ab614378ea923a12b2a45d7084ee;p=libevent Fix a dead-code warning in unit tests. CID 1193548 --- diff --git a/test/regress_http.c b/test/regress_http.c index 363ebe67..7c8337a3 100644 --- a/test/regress_http.c +++ b/test/regress_http.c @@ -718,6 +718,7 @@ http_delete_test(void *arg) http = http_setup(&port, data->base, 0); + tt_assert(http); fd = http_connect("127.0.0.1", port); tt_int_op(fd, >=, 0);