some warnings changes

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@113 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-09-02 12:58:56 +00:00
parent 7fe24ba394
commit b4ceb68680

View file

@ -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++;
}
}
}