What does this mean? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: What does this mean? (
/showthread.php?tid=94057)
What does this mean? -
Devine - 27.08.2009
C:\Users\Owner\Desktop\test server\samp\gamemodes\old.pwn(1656) : warning 203: symbol is never used: "IsNumeric"
C:\Users\Owner\Desktop\test server\samp\gamemodes\old.pwn(1656) : warning 203: symbol is never used: "ReturnUser"
When I don't even have a line 1656.. it ends at 1655.
Re: What does this mean? -
NEW_IE - 27.08.2009
It means that the variable is not in use and you don't need it.
Just Delete it.
Re: What does this mean? -
Correlli - 27.08.2009
IsNumeric and ReturnUser are functions and they're not used. There are two ways to get rid of the warning:
- delete function,
- use pragma unused;
pawn Код:
#pragma unused FunctionName
pawn Код:
#pragma unused ReturnUser
Re: What does this mean? -
kaisersouse - 27.08.2009
or you can flat-out ignore it, as deleting it will cause issues when you try to use it, as will #pragma-ing it out.
Re: What does this mean? -
Devine - 27.08.2009
Quote:
Originally Posted by Don Correlli
IsNumeric and ReturnUser are functions and they're not used. There are two ways to get rid of the warning:
- delete function,
- use pragma unused;
pawn Код:
#pragma unused FunctionName
pawn Код:
#pragma unused ReturnUser
|
Thanks.. I'm using this.
Kai: I'll just remove the #pragma unused when I want to re-use it.