From d28a6801acbd6e28052d42fff2030a07d26d8680 Mon Sep 17 00:00:00 2001 From: naddy Date: Thu, 20 Jan 2022 14:10:07 +0000 Subject: [PATCH] dvmrpctl: fix -Wunused-but-set-variable warning ok guenther@ --- usr.sbin/dvmrpctl/dvmrpctl.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/usr.sbin/dvmrpctl/dvmrpctl.c b/usr.sbin/dvmrpctl/dvmrpctl.c index 1b06d2bd134..e805e77266b 100644 --- a/usr.sbin/dvmrpctl/dvmrpctl.c +++ b/usr.sbin/dvmrpctl/dvmrpctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dvmrpctl.c,v 1.15 2015/12/05 13:11:00 claudio Exp $ */ +/* $OpenBSD: dvmrpctl.c,v 1.16 2022/01/20 14:10:07 naddy Exp $ */ /* * Copyright (c) 2005 Claudio Jeker @@ -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"); -- 2.20.1