From cd7c82577f60593ee2bb4fdf07258c313b7e7755 Mon Sep 17 00:00:00 2001
From: dd
Date: Fri, 1 Jun 2001 02:58:09 +0000
Subject: [PATCH] Remove unused variable (descr) in show_var().
PR: 22582
Submitted by: Giorgos Keramidas
---
sbin/sysctl/sysctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c
index f81cb7237617..646942d0a215 100644
--- a/sbin/sysctl/sysctl.c
+++ b/sbin/sysctl/sysctl.c
@@ -362,7 +362,7 @@ static int
show_var(int *oid, int nlen)
{
u_char buf[BUFSIZ], *val, *p;
- char name[BUFSIZ], descr[BUFSIZ], *fmt;
+ char name[BUFSIZ], *fmt;
int qoid[CTL_MAXNAME+2];
int i;
size_t j, len;