summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2016-07-19 18:09:40 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2016-07-19 18:09:40 +0000
commita5219241caf4d7b9e9f207505d16fba973fd729d (patch)
tree3a9de004e7170a1390e44280d58a43db35fffa22
parent724b1a79f1618e6cb6a3237f6ca6aa382b7a335f (diff)
Remove unused variable
-rw-r--r--usr.sbin/switchctl/parser.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.sbin/switchctl/parser.c b/usr.sbin/switchctl/parser.c
index ee671c8adb6..2ec8153b0b6 100644
--- a/usr.sbin/switchctl/parser.c
+++ b/usr.sbin/switchctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.1 2016/07/19 16:54:26 reyk Exp $ */
+/* $OpenBSD: parser.c,v 1.2 2016/07/19 18:09:39 reyk Exp $ */
/*
* Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org>
@@ -91,12 +91,6 @@ static const struct token t_load[] = {
{ ENDTOKEN, "", NONE, NULL }
};
-static const struct token t_opt_path[] = {
- { NOTOKEN, "", NONE, NULL },
- { PATH, "", NONE, NULL },
- { ENDTOKEN, "", NONE, NULL }
-};
-
static const struct token t_show[] = {
{ KEYWORD, "summary", SHOW_SUM, NULL },
{ KEYWORD, "switches", SHOW_SWITCHES, NULL },