]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: Clean up some small static analysis warnings
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 7 May 2016 00:18:07 +0000 (20:18 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 19 May 2016 14:42:21 +0000 (10:42 -0400)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
zebra/interface.c

index 2efcbac5711182867005c730cdefae32c9c0a3b1..c82b94503b05b0b0c5ccb934e6d85e39cc5c32bf 100644 (file)
@@ -581,7 +581,6 @@ if_delete_connected (struct interface *ifp)
                  next = anode->next;
 
                  ifc = listgetdata (anode);
-                 p = ifc->address;
                  connected_down_ipv4 (ifp, ifc);
 
                  /* XXX: We have to send notifications here explicitly, because we destroy