From fb7fc9b5c7aa1419c2d796a9758fa29b86b3db1a Mon Sep 17 00:00:00 2001 From: johnvg Date: Tue, 3 Jul 2001 15:19:36 +0000 Subject: initialise compiler_id with -1, to prevent incorrect result code for first codegenerator call git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@522 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d --- backendC/CleanCompilerSources/apple_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backendC') diff --git a/backendC/CleanCompilerSources/apple_main.c b/backendC/CleanCompilerSources/apple_main.c index 5cb16f2..a4f6636 100644 --- a/backendC/CleanCompilerSources/apple_main.c +++ b/backendC/CleanCompilerSources/apple_main.c @@ -275,7 +275,7 @@ int do_command (char *command) static char script_string[16001]; #ifdef CLEAN2 -int compiler_id; +int compiler_id=-1; #else extern int compiler_id; #endif -- cgit v1.2.3