Thread (2 messages) read the whole thread 2 messages, 2 authors, 2017-11-06

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

From: Pablo Neira Ayuso <pablo@netfilter.org>
Date: 2017-11-06 13:50:16
Also in: bridge, kernel-janitors, lkml, netfilter-devel

On Mon, Oct 16, 2017 at 11:24:02AM +0100, Colin King wrote:
From: Colin Ian King <redacted>

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help