summaryrefslogtreecommitdiff
path: root/usr.bin/systat
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2021-10-25 19:54:30 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2021-10-25 19:54:30 +0000
commitdb519ace69433242e2bacf6dc0e0e2a7bc7409d5 (patch)
tree3d186541fe6a5ec85bbfc3449b64b55efa6f2e80 /usr.bin/systat
parentdda2670f1e9def0681dfa506b1089aec71655bdb (diff)
Zap unused variables/functions under /usr/src/*bin/
OK deraadt
Diffstat (limited to 'usr.bin/systat')
-rw-r--r--usr.bin/systat/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/systat/cpu.c b/usr.bin/systat/cpu.c
index c231f9f43eb..267cf506e31 100644
--- a/usr.bin/systat/cpu.c
+++ b/usr.bin/systat/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.10 2019/06/28 13:35:04 deraadt Exp $ */
+/* $OpenBSD: cpu.c,v 1.11 2021/10/25 19:54:29 kn Exp $ */
/*
* Copyright (c) 2013 Reyk Floeter <reyk@openbsd.org>
@@ -192,7 +192,7 @@ initcpu(void)
{
field_view *v;
size_t size = sizeof(cpu_count);
- int mib[2], i;
+ int mib[2];
mib[0] = CTL_HW;
mib[1] = HW_NCPU;