summaryrefslogtreecommitdiff
path: root/lib/command_graph.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-08-09 21:31:11 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-08-09 21:31:11 +0000
commit78602b80294194b31fd402843c95af3bbb5c9999 (patch)
tree3b8733555e55039b88e7dd6720dd78fd10d78f2e /lib/command_graph.h
parentfe3936ecf5ab65100535db2d3cc9cce58bb69b5d (diff)
lib: Remove unnecessary node pointer
Selector and option heads had pointers to their ends, but this turned out to be unnecessary Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/command_graph.h')
-rw-r--r--lib/command_graph.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/command_graph.h b/lib/command_graph.h
index 48c3d9cd0a..e42b8336e5 100644
--- a/lib/command_graph.h
+++ b/lib/command_graph.h
@@ -59,7 +59,6 @@ struct graph_node
{
enum graph_node_type type; // data type this node matches or holds
vector children; // this node's children
- struct graph_node *end; // pointer to end for SELECTOR_GN & OPTION_GN
char *text; // original format text
char *doc; // docstring for this node