From 606dfd1650283de0c6673910203a66dc2aa692e3 Mon Sep 17 00:00:00 2001 From: Peter De Wachter Date: Sat, 23 Jan 2016 18:47:57 +0100 Subject: [PATCH] addLabelToStatement: correctly create a dummy statementBodyType --- parserMisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parserMisc.c b/parserMisc.c index 5ec73a9..c8cfa71 100644 --- a/parserMisc.c +++ b/parserMisc.c @@ -45,7 +45,7 @@ addLabelToStatement(labelList, statement) statementType *newStatement(); if (statement == NULL) - statement = newStatement(NULL_STATEMENT, NULL); + statement = newStatement(NULL_STATEMENT, (statementBodyType){ NULL }); statement->labels = labelList; return(statement); }