From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] cmdline: fix warning for unused return value Date: Thu, 05 Oct 2017 18:36:54 +0200 Message-ID: <6677026.pT0yldIjYA@xps> References: <20170907130923.157924-1-bruce.richardson@intel.com> <20170907134920.f4pbqowkks6xjm6e@neon> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Olivier MATZ To: Bruce Richardson Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id E02901B24E for ; Thu, 5 Oct 2017 18:36:56 +0200 (CEST) In-Reply-To: <20170907134920.f4pbqowkks6xjm6e@neon> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 07/09/2017 15:49, Olivier MATZ: > On Thu, Sep 07, 2017 at 02:09:23PM +0100, Bruce Richardson wrote: > > When DPDK is compiled on Ubuntu with extra warnings turned on, there is a > > warning about the return value from write() being unchecked. Rather than > > having builds disable the warning, which may mask other cases we do care > > about, we can add a dummy use of the return value in the code to silence it > > in this instance. > > > > Signed-off-by: Bruce Richardson > > Acked-by: Olivier Matz Applied, thanks