summaryrefslogtreecommitdiffstats
path: root/usr.sbin/switchctl/parser.c
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2016-07-19 18:09:39 +0000
committerreyk <reyk@openbsd.org>2016-07-19 18:09:39 +0000
commit9a845253a8ece00fd578caacef7a6c377c052e1f (patch)
treefe50dc128b7cc549be2996f465ef2a08ae39acaf /usr.sbin/switchctl/parser.c
parentA bit of cleanup and style changes. ofcconn needs more work. (diff)
downloadwireguard-openbsd-9a845253a8ece00fd578caacef7a6c377c052e1f.tar.xz
wireguard-openbsd-9a845253a8ece00fd578caacef7a6c377c052e1f.zip
Remove unused variable
Diffstat (limited to 'usr.sbin/switchctl/parser.c')
-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 },