mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 13:10:34 +00:00
Fix for decl test scope issue
This commit is contained in:
parent
ec89149b29
commit
1db600548e
1 changed files with 4 additions and 1 deletions
|
@ -5,12 +5,15 @@ test_fordecl ()
|
||||||
{
|
{
|
||||||
int fail = 1;
|
int fail = 1;
|
||||||
int count = 5;
|
int count = 5;
|
||||||
|
int ti = -1, tj = -1;
|
||||||
|
|
||||||
for (int i = 3, j = 5; count-- > 0; ) {
|
for (int i = 3, j = 5; count-- > 0; ) {
|
||||||
i += 2;
|
i += 2;
|
||||||
j += 3;
|
j += 3;
|
||||||
|
ti = i;
|
||||||
|
tj = j;
|
||||||
}
|
}
|
||||||
if (i == 13 && j == 20) {
|
if (ti == 13 && tj == 20) {
|
||||||
fail = 0;
|
fail = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue