[dpdk-dev] [PATCH] cmdline: fix warning for unused return value

Thomas Monjalon thomas at monjalon.net
Thu Oct 5 18:36:54 CEST 2017

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 <bruce.richardson at intel.com>
> Acked-by: Olivier Matz <olivier.matz at 6wind.com>

Applied, thanks

More information about the dev mailing list