• Welcome to Vice City Multiplayer.
 

pawno compiler question

Started by ramandu, March 03, 2010, 04:42:04 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

ramandu

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

Ettans

You can just ignore it, or use #pragma unused Player

Boss

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.