Posts: 727
Threads: 79
Joined: Mar 2012
Reputation:
0
What is this?
And what is it doing? (should do) ?
Posts: 257
Threads: 61
Joined: Nov 2011
Reputation:
0
Try to understand... check if the param is false..
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
This doesn't make any sense whatsoever. An if-statement always needs to evaluate to true for the code in the block to be executed. If you need to invert the statement, use the NOT operator (exclamation mark).
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
Still, I do not understand what it is that you're actually trying to achieve. This isn't something a professional programmer would ever consent to write.
You might want to do something about your English as well. "I want to do define that have IF..." is not an understandable sentence.
Posts: 4,878
Threads: 85
Joined: Jun 2007
Reputation:
0
The warning just tells you, that this code phrase is useless, as its behaviour is already known on compilation, and so could also be left out.
It doesnt cause any problems however, you can just ignore it if you want to produce inefficient but still working code.