warning 206: redundant test: constant expression is non-zero
#2

You (or someone else using the same script) posted about this a few days ago.

Basically, USE_TEXTDRAW_SET is defined as 2, so you're doing:

if(2 == 2)

which is, as the warning says, redundant (useless).

Use #if or change the define to a variable.
Reply


Messages In This Thread
warning 206: redundant test: constant expression is non-zero - by ridhoswasta - 21.04.2013, 12:22
Re: warning 206: redundant test: constant expression is non-zero - by MP2 - 21.04.2013, 12:26
Re: warning 206: redundant test: constant expression is non-zero - by ridhoswasta - 21.04.2013, 12:32

Forum Jump:


Users browsing this thread: 1 Guest(s)