mysql_debug - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: mysql_debug (
/showthread.php?tid=529663)
mysql_debug -
Callum98 - 03.08.2014
For some reason I am getting this
pawn Код:
warning 206: redundant test: constant expression is non-zero
warning 215: expression has no effect
When using this in my gamemode
But when I check to see if the plugin removed it/changed it it doesn't seem to have changed
https://sampforum.blast.hk/showthread.php?tid=56564
Re: mysql_debug -
Vince - 03.08.2014
That warning means that you're quite literally doing something like:
although it may manifest itself in a way like this:
pawn Код:
#define SOME_STATE 1
if(SOME_STATE == 1)
This is always true ("non-zero") and therefor redundant.
Are you sure that's the line that causes the error? Look at the file name, it may refer to an included file.
Re: mysql_debug -
DobbysGamertag - 03.08.2014
I presume you're using a newer version than R6/5.
Try:
mysql_log.
Re: mysql_debug -
Callum98 - 03.08.2014
Quote:
Originally Posted by DobbysGamertag
I presume you're using a newer version than R6/5.
Try:
mysql_log.
|
Thank you.