Redundant code: constant expression is zero
#1

Quote:

(876) : warning 206: redundant test: constant expression is non-zero
(1223) : warning 206: redundant test: constant expression is non-zero
(1515) : warning 205: redundant code: constant expression is zero
(1524) : warning 205: redundant code: constant expression is zero
(1548) : warning 205: redundant code: constant expression is zero
(1561) : warning 205: redundant code: constant expression is zero
(1620) : warning 205: redundant code: constant expression is zero
(1639) : warning 205: redundant code: constant expression is zero
(1661) : warning 205: redundant code: constant expression is zero
(1684) : warning 205: redundant code: constant expression is zero
(1698) : warning 205: redundant code: constant expression is zero
(1710) : warning 205: redundant code: constant expression is zero
(1732) : warning 205: redundant code: constant expression is zero
(1746) : warning 205: redundant code: constant expression is zero
(1760) : warning 205: redundant code: constant expression is zero

15 Warnings.

I'm trying to compile AVS filterscript but everytime I try to I get these errors the line which gives the error throughout the entire script is this one. Anyone knows what is wrong with it?

Код:
	if(!IsAdmin(playerid, 1)) return SendClientMessage(playerid, COLOR_RED, "You are not admin!");
Reply


Messages In This Thread
Redundant code: constant expression is zero - by Zerovda - 06.11.2012, 15:57
Re: Redundant code: constant expression is zero - by Glad2BeHere - 06.11.2012, 16:06
Re: Redundant code: constant expression is zero - by Zerovda - 06.11.2012, 16:10

Forum Jump:


Users browsing this thread: 1 Guest(s)