blob: 55ac08e780050955d94ef8bba180db4a0b147d51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
void bar (void);
void
foo (int *diff)
{
double deltay = 0.0;
int Stangent = 0;
int mindiff;
int Sflipped = 0;
int i;
int Sturn, Snofit;
Sturn = 1;
if (Sturn)
Stangent = 1;
if (Sturn)
{
Sflipped = 0;
Snofit = 1;
while (Snofit)
{
Snofit = 0;
mindiff = 0;
for (i = 0; i < 4; i++)
mindiff = diff[i];
while (!Snofit && (mindiff < 0.0))
{
deltay = (Stangent ? deltay : 0.0);
if (deltay < 0.0)
Snofit = 1;
for (i = 0; i < 4; i++)
{
}
}
if (Snofit)
if (Sflipped)
break;
}
if (Snofit)
bar ();
}
}
|