09.10.2011, 12:35
pawn Код:
(30) : warning 206: redundant test: constant expression is non-zero
pawn Код:
if(!vmodelid) //LINE30
{
printf("Invalid modelid for vehicle %i", vehicleid);
return -1;
}
(30) : warning 206: redundant test: constant expression is non-zero
if(!vmodelid) //LINE30
{
printf("Invalid modelid for vehicle %i", vehicleid);
return -1;
}
enum vInfo
{
vmodelid,
VehicleInfo[vehicleid][vmodelid] = modelid;
if(!VehicleInfo[vehicleid][vmodelid])
{
printf("Invalid modelid for vehicle %i", vehicleid);
return -1;
}