From b0c3f9d63dadb68d5786fb4089149e17eb2a5246 Mon Sep 17 00:00:00 2001 From: "zik.saleeba" Date: Mon, 2 Feb 2009 22:33:07 +0000 Subject: [PATCH] Uninitialised memory bug fixed git-svn-id: http://picoc.googlecode.com/svn/trunk@52 21eae674-98b7-11dd-bd71-f92a316d2d60 --- lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lex.c b/lex.c index dedd7db..5f431b1 100644 --- a/lex.c +++ b/lex.c @@ -280,7 +280,7 @@ void *LexTokenise(struct LexState *Lexer) void *HeapMem; struct Value *GotValue; int MemAvailable; - int MemUsed; + int MemUsed = 0; void *TokenSpace = HeapStackGetFreeSpace(&MemAvailable); do