artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fb5aa3
)
dvmrpctl: fix -Wunused-but-set-variable warning
author
naddy
<naddy@openbsd.org>
Thu, 20 Jan 2022 14:10:07 +0000
(14:10 +0000)
committer
naddy
<naddy@openbsd.org>
Thu, 20 Jan 2022 14:10:07 +0000
(14:10 +0000)
ok guenther@
usr.sbin/dvmrpctl/dvmrpctl.c
patch
|
blob
|
history
diff --git
a/usr.sbin/dvmrpctl/dvmrpctl.c
b/usr.sbin/dvmrpctl/dvmrpctl.c
index
1b06d2b
..
e805e77
100644
(file)
--- a/
usr.sbin/dvmrpctl/dvmrpctl.c
+++ b/
usr.sbin/dvmrpctl/dvmrpctl.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: dvmrpctl.c,v 1.1
5 2015/12/05 13:11:00 claudio
Exp $ */
+/* $OpenBSD: dvmrpctl.c,v 1.1
6 2022/01/20 14:10:07 naddy
Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@
-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");