From 1416b996d3be6cbf49fd4d2e1f1f89f8544c2624 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 1 Mar 2011 09:18:09 +0900 Subject: [PATCH] Ensure the type space pointer is cleared with each object file. --- tools/qfcc/source/linker.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/qfcc/source/linker.c b/tools/qfcc/source/linker.c index 49395e835..321e35873 100644 --- a/tools/qfcc/source/linker.c +++ b/tools/qfcc/source/linker.c @@ -617,6 +617,7 @@ linker_add_qfo (qfo_t *qfo) int pass; qfo_mspace_t *space; + qfo_type_defs = 0; for (pass = 0; pass < 2; pass++) { for (i = 0, space = qfo->spaces; i < qfo->num_spaces; i++, space++) { if (space->type < 0 || space->type > qfos_type) {