2017-11-06 13:51:07

by Pablo Neira Ayuso

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

On Mon, Oct 16, 2017 at 11:24:02AM +0100, Colin King wrote:
> From: Colin Ian King <[email protected]>
>
> 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.

From 1581409371174201547@xxx Mon Oct 16 10:25:01 +0000 2017
X-GM-THRID: 1581409371174201547
X-Gmail-Labels: Inbox,Category Forums