From patchwork Fri Nov 18 19:33:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 83022 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp262709qge; Fri, 18 Nov 2016 11:33:16 -0800 (PST) X-Received: by 10.200.41.248 with SMTP id 53mr1148746qtt.3.1479497596036; Fri, 18 Nov 2016 11:33:16 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id s63si6012215qkh.26.2016.11.18.11.33.15; Fri, 18 Nov 2016 11:33:16 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 8649D63012; Fri, 18 Nov 2016 19:33:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 0B61A6077E; Fri, 18 Nov 2016 19:33:12 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 9C56A6086E; Fri, 18 Nov 2016 19:33:10 +0000 (UTC) Received: from mail-qk0-f175.google.com (mail-qk0-f175.google.com [209.85.220.175]) by lists.linaro.org (Postfix) with ESMTPS id E1BD360736 for ; Fri, 18 Nov 2016 19:33:09 +0000 (UTC) Received: by mail-qk0-f175.google.com with SMTP id n204so276771242qke.2 for ; Fri, 18 Nov 2016 11:33:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=5VZ3oF0fiqXvqxgp1c5yECnbvyACL5i4enuesr506m8=; b=FICXnrqLWaX7Sywkb9qb9xiqF7GlxEgsezslcFguvsP7xrYZmmZk6Baf6nzgfVq+/0 HGPf8vp7ASaHbyf+8fNnMDHORyXOBJ0RIfMerEZdfNwKOjqAL6snusE9sslJZjkuw8kh Mp8ic8KZsSXAkXka4h1FlIr0euf/skKcfjfnDi7U/6p4MS9hSbin+Qmb5LBbgSOdjmo4 4ptK3wn+e1dmfCjtctOspDBo1PguDjjun2DG3I43KaxPgcw3k5rORZbXLD1bIeKDTvdR MjpPRXw7PbX0RJZvsfnV5PzxP9F7p5PB85l+Azcc4ewoMoSANF1dXU1FMUaaE6XhwgDc nU/Q== X-Gm-Message-State: AKaTC00qd5OQl/tszTWpH0Ywg/xbHOANVlQFoWi0zdQJfhXaGCGPjJZFCzkVugiXy1nE4UbmfCs= X-Received: by 10.55.188.198 with SMTP id m189mr1722701qkf.248.1479497589533; Fri, 18 Nov 2016 11:33:09 -0800 (PST) Received: from localhost (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by smtp.gmail.com with ESMTPSA id z29sm4763944qtz.16.2016.11.18.11.33.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Nov 2016 11:33:08 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Fri, 18 Nov 2016 14:33:07 -0500 Message-Id: <1479497587-20559-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [lng-odp] [PATCH] example:odp_l3fwd_db explicitly ignore return X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" clean up static analysis warning Signed-off-by: Mike Holmes --- example/l3fwd/odp_l3fwd_db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/example/l3fwd/odp_l3fwd_db.c b/example/l3fwd/odp_l3fwd_db.c index 082b2c2..a8c2ca8 100644 --- a/example/l3fwd/odp_l3fwd_db.c +++ b/example/l3fwd/odp_l3fwd_db.c @@ -394,7 +394,7 @@ int create_fwd_db_entry(char *input, char **oif, uint8_t **dst_mac) *oif = entry->oif; break; case 2: - odph_eth_addr_parse(&entry->dst_mac, token); + (void)odph_eth_addr_parse(&entry->dst_mac, token); *dst_mac = entry->dst_mac.addr; break;