diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-08-09 21:31:11 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-08-09 21:31:11 +0000 |
| commit | 78602b80294194b31fd402843c95af3bbb5c9999 (patch) | |
| tree | 3b8733555e55039b88e7dd6720dd78fd10d78f2e /lib/command_match.c | |
| parent | fe3936ecf5ab65100535db2d3cc9cce58bb69b5d (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_match.c')
| -rw-r--r-- | lib/command_match.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/command_match.c b/lib/command_match.c index 9b9f8a0ec5..b323bc5809 100644 --- a/lib/command_match.c +++ b/lib/command_match.c @@ -469,7 +469,6 @@ copy_node (struct graph_node *node) { struct graph_node *new = new_node(node->type); new->children = NULL; - new->end = NULL; new->text = node->text ? XSTRDUP(MTYPE_CMD_TOKENS, node->text) : NULL; new->value = node->value; new->min = node->min; |
