redundant test: constant expression is non-zero
#1

I have the error:
Код:
(10531) : warning 206: redundant test: constant expression is non-zero
Код:
stock IsAMotorcycle(carid)
{
	if(carid == 586, 581, 523, 522, 521, 471, 468, 463, 462, 461, 448) return 1;
	return 0;
}
Код:
Line 10531 == if(carid == 586, 581, 523, 522, 521, 471, 468, 463, 462, 461, 448) return 1;
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)