What does this mean?
#1

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.
Reply
#2

It means that the variable is not in use and you don't need it.

Just Delete it.
Reply
#3

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 IsNumeric
pawn Код:
#pragma unused ReturnUser
Reply
#4

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.
Reply
#5

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 IsNumeric
pawn Код:
#pragma unused ReturnUser
Thanks.. I'm using this.

Kai: I'll just remove the #pragma unused when I want to re-use it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)