From patchwork Thu Apr 22 05:29:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arne Schwabe X-Patchwork-Id: 1770 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director8.mail.ord1d.rsapps.net ([172.28.255.1]) by backend30.mail.ord1d.rsapps.net with LMTP id IMRcHqSWgWBtSQAAIUCqbw (envelope-from ) for ; Thu, 22 Apr 2021 11:30:44 -0400 Received: from proxy4.mail.ord1c.rsapps.net ([172.28.255.1]) by director8.mail.ord1d.rsapps.net with LMTP id iDQCHqSWgWA2SQAAfY0hYg (envelope-from ) for ; Thu, 22 Apr 2021 11:30:44 -0400 Received: from smtp1.gate.ord1c ([172.28.255.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy4.mail.ord1c.rsapps.net with LMTPS id sJ4RHaSWgWA6GQAAjcXvpA (envelope-from ) for ; Thu, 22 Apr 2021 11:30:44 -0400 X-Spam-Threshold: 95 X-Spam-Score: 0 X-Spam-Flag: NO X-Virus-Scanned: OK X-Orig-To: openvpnslackdevel@openvpn.net X-Originating-Ip: [216.105.38.7] Authentication-Results: smtp1.gate.ord1c.rsapps.net; iprev=pass policy.iprev="216.105.38.7"; spf=pass smtp.mailfrom="openvpn-devel-bounces@lists.sourceforge.net" smtp.helo="lists.sourceforge.net"; dkim=fail (signature verification failed) header.d=sourceforge.net; dkim=fail (signature verification failed) header.d=sf.net; dmarc=none (p=nil; dis=none) header.from=rfc2549.org X-Suspicious-Flag: YES X-Classification-ID: b325571a-a37f-11eb-a790-842b2b47c027-1-1 Received: from [216.105.38.7] ([216.105.38.7:58824] helo=lists.sourceforge.net) by smtp1.gate.ord1c.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id DD/15-04804-3A691806; Thu, 22 Apr 2021 11:30:43 -0400 Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1lZbHA-000883-I8; Thu, 22 Apr 2021 15:29:56 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZbH9-00087b-AM for openvpn-devel@lists.sourceforge.net; Thu, 22 Apr 2021 15:29:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-Id: Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=1Hmxw+hAwAm8oJ1x2oqngyAfAn64LQwy1ikgK97ZI/k=; b=i8p8zJVbYtiuChewpcHbQXL8LO E4GlwhVf999x/RwAzQK2sVeHC6ddKnT0AQil3pwuq+AEhkGwQxN6KxHRhn7fJEDqQh5So3hErNhga OmUPRv0mRjd2mXRYZ+CoXAeD1jihzlCOcTPIkPL6y2KXHPnlJbQww0ynIJCbbCrdfPBg=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Type:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=1Hmxw+hAwAm8oJ1x2oqngyAfAn64LQwy1ikgK97ZI/k=; b=P klb1hmgIkZUQ6+eMHFCfZkJ+xAkaRVEMLa3yc5Ay5qZUueUc0jG4UwIXVaXnZQ8EpW1N8nSuYCArT An0zk4fPTi6nIoEltvnOpy4/pVcjXcXOVuKs/qPh34Zeh4vJ4gEEq6M/6iYURg/X9slaBSDjYjWmJ i3bSwOR4wVMnLRK0=; Received: from mail.blinkt.de ([192.26.174.232]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) id 1lZbH0-0007w7-52 for openvpn-devel@lists.sourceforge.net; Thu, 22 Apr 2021 15:29:55 +0000 Received: from kamera.blinkt.de ([2001:638:502:390:20c:29ff:fec8:535c]) by mail.blinkt.de with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1lZbGt-000B9D-Ca for openvpn-devel@lists.sourceforge.net; Thu, 22 Apr 2021 17:29:39 +0200 Received: (nullmailer pid 2134092 invoked by uid 10006); Thu, 22 Apr 2021 15:29:39 -0000 From: Arne Schwabe To: openvpn-devel@lists.sourceforge.net Date: Thu, 22 Apr 2021 17:29:34 +0200 Message-Id: <20210422152939.2134046-1-arne@rfc2549.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: rfc2549.org] 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-Headers-End: 1lZbH0-0007w7-52 Subject: [Openvpn-devel] [PATCH v2 1/6] Avoid failing_test unused warning in example_test X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox This warnings makes make check fail if Werror is exmaple on LLVM/Clang on macOS for me. Signed-off-by: Arne Schwabe Acked-by: Gert Doering Acked-by: Gert Doering --- tests/unit_tests/example_test/test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit_tests/example_test/test.c b/tests/unit_tests/example_test/test.c index bc3fdc17c..ea31b884d 100644 --- a/tests/unit_tests/example_test/test.c +++ b/tests/unit_tests/example_test/test.c @@ -38,6 +38,7 @@ int_test_success(void **state) assert_int_equal(*answer, 42); } +__attribute__((unused)) static void failing_test(void **state) {