Message ID | 1389386600-19012-1-git-send-email-kristian.evensen@gmail.com |
---|---|
State | Accepted |
Headers | show |
On Fri, Jan 10, 2014 at 09:43:20PM +0100, Kristian Evensen wrote: > From: Kristian Evensen <kristian.evensen@gmail.com> > > net/netfilter/nft_ct.c: In function 'nft_ct_set_eval': > net/netfilter/nft_ct.c:136:6: warning: unused variable 'value' [-Wunused-variable] Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/netfilter/nft_ct.c b/net/netfilter/nft_ct.c index c7c1285..917052e 100644 --- a/net/netfilter/nft_ct.c +++ b/net/netfilter/nft_ct.c @@ -133,7 +133,9 @@ static void nft_ct_set_eval(const struct nft_expr *expr, { const struct nft_ct *priv = nft_expr_priv(expr); struct sk_buff *skb = pkt->skb; +#ifdef CONFIG_NF_CONNTRACK_MARK u32 value = data[priv->sreg].data[0]; +#endif enum ip_conntrack_info ctinfo; struct nf_conn *ct;