summaryrefslogtreecommitdiff
path: root/distrib/special/doas
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2016-12-15 20:32:45 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2016-12-15 20:32:45 +0000
commitc6f6c1aa2b6a771a683717457b87c4bb18ce924e (patch)
treedd201b00469ec5a2bcea49df1a181a917c625d8e /distrib/special/doas
parent39f8e9ba9e9bd494c98085de27972b235a79f939 (diff)
Nuke a couple of unused variables making gcc upset. Leftovers from stripping
down doas for install media. ok tedu@
Diffstat (limited to 'distrib/special/doas')
-rw-r--r--distrib/special/doas/doas.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/distrib/special/doas/doas.c b/distrib/special/doas/doas.c
index 42c4d80bbd0..031422a93e7 100644
--- a/distrib/special/doas/doas.c
+++ b/distrib/special/doas/doas.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: doas.c,v 1.1 2016/08/16 04:55:33 tedu Exp $ */
+/* $OpenBSD: doas.c,v 1.2 2016/12/15 20:32:44 krw Exp $ */
/*
* Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
*
@@ -60,8 +60,7 @@ main(int argc, char **argv)
uid_t uid;
uid_t target = 0;
gid_t groups[1];
- int ngroups;
- int i, ch;
+ int ch;
setprogname("doas");