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

Pablo Neira Ayuso pablo at netfilter.org
Mon Nov 6 13:50:02 UTC 2017


On Mon, Oct 16, 2017 at 11:24:02AM +0100, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
> 
> 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"

Applied, thanks.


More information about the Bridge mailing list