aboutsummaryrefslogtreecommitdiff
path: root/backendC
diff options
context:
space:
mode:
authorjohnvg2001-07-03 15:19:36 +0000
committerjohnvg2001-07-03 15:19:36 +0000
commitfb7fc9b5c7aa1419c2d796a9758fa29b86b3db1a (patch)
treeedc7e698e07a3b125cfaa9dfe95f0c646b40e397 /backendC
parentThis commit was generated by cvs2svn to compensate for changes in r520, (diff)
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
Diffstat (limited to 'backendC')
-rw-r--r--backendC/CleanCompilerSources/apple_main.c2
1 files changed, 1 insertions, 1 deletions
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