On Tue, 9 Aug 2016 10:34:30 +0200 Richard Alpe <richard.a...@ericsson.com> wrote:
> Introduce a generic function (nl_add_bearer_name()) that identifies a > bearer and adds it to an existing netlink message. This reduces code > complexity and makes the code a little bit easier to maintain. > > Signed-off-by: Richard Alpe <richard.a...@ericsson.com> This causes warning on GCC 6 (Debian Testing). tipc CC bearer.o bearer.c: In function ‘cmd_bearer_disable’: bearer.c:325:14: warning: unused variable ‘opt’ [-Wunused-variable] struct opt *opt; ^ LINK tipc Please fix and resubmit.