mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3/lib: clang: 'Value stored to 'rta' is never read'
Fixes: source3/lib/addrchange.c:217:2: warning: Value stored to 'rta' is never read <--[clang] rta = IFA_RTA(ifa); ^ ~~~~~~~~~~~~ 1 warning generated. Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
parent
963f58fb62
commit
b388c217d4
@ -214,7 +214,6 @@ static void addrchange_done(struct tevent_req *subreq)
|
|||||||
|
|
||||||
state->addr.ss_family = ifa->ifa_family;
|
state->addr.ss_family = ifa->ifa_family;
|
||||||
|
|
||||||
rta = IFA_RTA(ifa);
|
|
||||||
len = h->nlmsg_len - sizeof(struct nlmsghdr) + sizeof(struct ifaddrmsg);
|
len = h->nlmsg_len - sizeof(struct nlmsghdr) + sizeof(struct ifaddrmsg);
|
||||||
|
|
||||||
found = false;
|
found = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user