From c119f2416c52ab614378ea923a12b2a45d7084ee Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 18 Sep 2014 11:54:04 -0400 Subject: [PATCH] Fix a dead-code warning in unit tests. CID 1193548 --- test/regress_http.c | 1 + 1 file changed, 1 insertion(+) 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);