summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ecomp-c/ec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ecomp-c/ec.c b/ecomp-c/ec.c
index c309f1d..3c0d0f6 100644
--- a/ecomp-c/ec.c
+++ b/ecomp-c/ec.c
@@ -1624,6 +1624,7 @@ static void parseProcedureCall( Scope *scope )
}
nof_actual_params = 0;
+ head = NULL;
if( sym == S_lparen ) {
head = parseParameterList( scope );
@@ -2160,7 +2161,7 @@ static void parseProcedureDeclaration( Scope *scope )
char *procedure_label;
Symbol *symbol;
int size_locals;
- int size_params;
+ int size_params = 0;
Expect( S_procedure );
if( sym != S_ident ) {