On Sat, 31 May 2014 03:45:29 -0300, Raphael S Carvalho said:
> net/netfilter/nfnetlink.c: In function 'nfnetlink_rcv':
> net/netfilter/nfnetlink.c:363:14: warning: unused variable 'net'
> [-Wunused-variable]
>   struct net *net = sock_net(skb->sk);
>               ^

Of course, the real fun starts when the variable is unused in
some configs and not in others (usually doe to #ifdef-ery)

Attachment: pgpXA_xj0FvnM.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to