summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-07-07 19:39:30 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-07-07 19:39:30 +0000
commit45fa6543a39f5c2b75536addb4794e1d29a27696 (patch)
tree6b6f6672816c2472d5ccf62340112f20f391d409
parentc9dc84c95ce5b322fa6381ec3ad9ac3b506cc5fb (diff)
downloadmandoc-45fa6543a39f5c2b75536addb4794e1d29a27696.tar.gz
garbage collect unused enum member EQN_ROOT
-rw-r--r--mandoc.h1
-rw-r--r--tree.c3
2 files changed, 0 insertions, 4 deletions
diff --git a/mandoc.h b/mandoc.h
index 106fb8c3..37a14299 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -334,7 +334,6 @@ struct tbl_span {
};
enum eqn_boxt {
- EQN_ROOT, /* root of parse tree */
EQN_TEXT, /* text (number, variable, whatever) */
EQN_SUBEXPR, /* nested `eqn' subexpression */
EQN_LIST, /* list (braces, etc.) */
diff --git a/tree.c b/tree.c
index db26a2ab..f60802d4 100644
--- a/tree.c
+++ b/tree.c
@@ -313,9 +313,6 @@ print_box(const struct eqn_box *ep, int indent)
t = NULL;
switch (ep->type) {
- case EQN_ROOT:
- t = "eqn-root";
- break;
case EQN_LIST:
t = "eqn-list";
break;