summaryrefslogtreecommitdiff
path: root/lib/grammar_sandbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/grammar_sandbox.c')
-rw-r--r--lib/grammar_sandbox.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/grammar_sandbox.c b/lib/grammar_sandbox.c
index 0eb8d69cee..a2177c1767 100644
--- a/lib/grammar_sandbox.c
+++ b/lib/grammar_sandbox.c
@@ -32,9 +32,8 @@ DEFUN (grammar_test_show,
{
if (!nodegraph)
fprintf(stderr, "!nodegraph\n");
- fprintf(stderr, "trying to print nodegraph->type\n");
- fprintf(stderr, "%d\n", nodegraph->type);
- walk_graph(nodegraph, 0);
+ else
+ walk_graph(nodegraph, 0);
return CMD_SUCCESS;
}