From b4ceb68680aa5bfe48d009eb8157b3f573c31863 Mon Sep 17 00:00:00 2001 From: Spoike Date: Thu, 2 Sep 2004 12:58:56 +0000 Subject: [PATCH] some warnings changes git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@113 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/qclib/qcc_pr_comp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/engine/qclib/qcc_pr_comp.c b/engine/qclib/qcc_pr_comp.c index 3c587276e..353365cca 100644 --- a/engine/qclib/qcc_pr_comp.c +++ b/engine/qclib/qcc_pr_comp.c @@ -911,9 +911,9 @@ static void QCC_FreeTemps(void) t = functemps; while(t) { - if (t->used) + if (t->used && !pr_error_count) //don't print this after an error jump out. { - QCC_PR_ParseWarning(ERR_INTERNAL, "Temp was used\n"); + QCC_PR_ParseWarning(WARN_DEBUGGING, "Temp was used\n"); } t = t->next; } @@ -3052,7 +3052,6 @@ QCC_def_t *QCC_PR_ParseValue (QCC_type_t *assumeclass) else { QCC_PR_ParseWarning (ERR_UNKNOWNVALUE, "Unknown value \"%s\", assuming float.", name); - pr_error_count++; } } }