usr.sbin/dvmrpctl: fix -Wunused-but-set-variable warning

This looks like /* not yet implemented */, but the companion functions
show_rib_detail_msg() and show_mfc_detail_msg() are equally empty.
 
M  usr.sbin/dvmrpctl/dvmrpctl.c

diff 4bd575d8630c92f404211d2c625b200ac28213b9 
41bbcfa017d9537de08312789d0087c674ce4732
blob - 1b06d2bd134200716094881258b254877a1bf5d1
blob + ab02e0bb29b038ddaad26a49f43ba567d43770bc
--- usr.sbin/dvmrpctl/dvmrpctl.c
+++ usr.sbin/dvmrpctl/dvmrpctl.c
@@ -515,11 +515,8 @@ print_dvmrp_options(u_int8_t opts)
 int
 show_nbr_detail_msg(struct imsg *imsg)
 {
-       struct ctl_nbr  *nbr;
-
        switch (imsg->hdr.type) {
        case IMSG_CTL_SHOW_NBR:
-               nbr = imsg->data;
                break;
        case IMSG_CTL_END:
                printf("\n");

-- 
Christian "naddy" Weisgerber                          [email protected]

Reply via email to