From: j8takagi Date: Fri, 11 Mar 2011 02:27:26 +0000 (+0900) Subject: Valgrindで検出した初期化ミスを修正 X-Git-Tag: v0.1p24~7 X-Git-Url: https://j8takagi.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a86725164b38ae2818495cb87045a70cf36d5f01;p=YACASL2.git Valgrindで検出した初期化ミスを修正 --- diff --git a/src/assemble.c b/src/assemble.c index d6cb4f2..10b9dea 100644 --- a/src/assemble.c +++ b/src/assemble.c @@ -204,7 +204,7 @@ bool assemblecmd(const CMDLINE *cmdl, PASS pass) bool macrocmd(const CMDLINE *cmdl, PASS pass) { int i = 0; - MACROCMDID cmdid; + MACROCMDID cmdid = 0; MACROCMD macrocmd[] = { { IN, 2, 2, "IN" }, { OUT, 2, 2, "OUT" },