mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
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:
parent
7fe24ba394
commit
b4ceb68680
1 changed files with 2 additions and 3 deletions
|
@ -911,9 +911,9 @@ static void QCC_FreeTemps(void)
|
||||||
t = functemps;
|
t = functemps;
|
||||||
while(t)
|
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;
|
t = t->next;
|
||||||
}
|
}
|
||||||
|
@ -3052,7 +3052,6 @@ QCC_def_t *QCC_PR_ParseValue (QCC_type_t *assumeclass)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
QCC_PR_ParseWarning (ERR_UNKNOWNVALUE, "Unknown value \"%s\", assuming float.", name);
|
QCC_PR_ParseWarning (ERR_UNKNOWNVALUE, "Unknown value \"%s\", assuming float.", name);
|
||||||
pr_error_count++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue