home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
lclint.zip
/
lclint-2_3h-os2-bin.zip
/
test
/
preds.c
< prev
next >
Wrap
Text File
|
1997-09-03
|
365b
|
48 lines
int f (bool b1, bool b2, char c, int *p)
{
if (!p)
{
return 3;
}
if (*p)
{
return 4;
}
if (!(*p))
{
return 4;
}
if (b1 = b2)
{
return 5;
}
if ((c = 'a'))
{
return 5;
}
if (b1 == b2)
{
return 5;
}
if (c)
{
return 2;
}
return 12;
}