Re: [PATCH] netfilter: ebtables: clean up initialization of buf

2017-11-06 Thread Pablo Neira Ayuso
On Mon, Oct 16, 2017 at 11:24:02AM +0100, Colin King wrote: > From: Colin Ian King > > buf is initialized to buf_start and then set on the next statement > to buf_start + offsets[i]. Clean this up to just initialize buf > to buf_start + offsets[i] to clean up the clang build warning: > "Value st

[PATCH] netfilter: ebtables: clean up initialization of buf

2017-10-16 Thread Colin King
From: Colin Ian King buf is initialized to buf_start and then set on the next statement to buf_start + offsets[i]. Clean this up to just initialize buf to buf_start + offsets[i] to clean up the clang build warning: "Value stored to 'buf' during its initialization is never read" Signed-off-by: C