summaryrefslogtreecommitdiff
path: root/lib/command_parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command_parse.y')
-rw-r--r--lib/command_parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command_parse.y b/lib/command_parse.y
index d084ddd73f..a5e582c73b 100644
--- a/lib/command_parse.y
+++ b/lib/command_parse.y
@@ -458,7 +458,7 @@ terminate_graph (struct parser_ctx *ctx, struct graph_node *finalnode)
strdup (CMD_CR_TEXT),
strdup (""));
struct graph_node *end_element_node =
- graph_new_node (ctx->graph, element, (void (*)(void *)) &del_cmd_element);
+ graph_new_node (ctx->graph, element, NULL);
if (node_adjacent (finalnode, end_token_node))
cmd_yyerror (ctx, "Duplicate command.");