From 957c035603d6a5661500a362010fa237ff071420 Mon Sep 17 00:00:00 2001 From: sean Date: Tue, 19 Jun 2012 02:13:08 +0000 Subject: [PATCH] =?UTF-8?q?Added=20a=20patch=20to=20correct=20the=20warnin?= =?UTF-8?q?g=20"test/test-wildcard.c:=20In=20function=20=E2=80=98test?= =?UTF-8?q?=E2=80=99:=20test/test-wildcard.c:159:5:=20warning:=20value=20c?= =?UTF-8?q?omputed=20is=20not=20used=20[-Wunused-value]=20I=20simpily=20vo?= =?UTF-8?q?ided=20the=20BIO=5Fdestroy=5Fbio=5Fpair=20return=20value=20whic?= =?UTF-8?q?h=20was=20a=20long=20wrapped=20value=20from=20OPENSSL.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ncat/test/test-wildcard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ncat/test/test-wildcard.c b/ncat/test/test-wildcard.c index 95f8dbee0..cbcaa99d5 100644 --- a/ncat/test/test-wildcard.c +++ b/ncat/test/test-wildcard.c @@ -156,7 +156,7 @@ end: X509_free(cert); EVP_PKEY_free(key); - BIO_destroy_bio_pair(server_bio); + (void) BIO_destroy_bio_pair(server_bio); SSL_CTX_free(server_ctx); SSL_CTX_free(client_ctx);