Vice City Multiplayer

VC:MP => mIRC/pawn Scripting => Topic started by: ramandu on March 03, 2010, 05:42:04 PM

Title: pawno compiler question
Post by: ramandu on March 03, 2010, 05:42:04 PM
is there anyway to suppress the warnings for unused variables in the compiler ?

warning 203: symbol is never used: "Player"

i would also like to keep the variable there for potential future use.

thankyou
Title: Re: pawno compiler question
Post by: Ettans on March 03, 2010, 05:46:58 PM
You can just ignore it, or use #pragma unused Player
Title: Re: pawno compiler question
Post by: Boss on March 03, 2010, 05:53:37 PM
You have three options here:
1) Ignore the warnings. Not that they affect anything.
2) Comment your unused variables so that you can uncomment them later. Use // for single-line comments and /* & */ for multi-line comments.
3) Start using your variables if you want to. Or, if you don't, delete them.