Author Topic: pawno compiler question  (Read 3052 times)

0 Members and 1 Guest are viewing this topic.

Offline ramandu

  • Street Thug
  • *
  • Posts: 16
    • View Profile
pawno compiler question
« on: March 03, 2010, 07: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
« Last Edit: March 03, 2010, 07:43:51 pm by ramandu »

Offline Ettans

  • VC:MP Beta Tester
  • Wiseguy
  • *
  • Posts: 56
    • View Profile
Re: pawno compiler question
« Reply #1 on: March 03, 2010, 07:46:58 pm »
You can just ignore it, or use #pragma unused Player

Offline Boss

  • VC:MP Beta Tester (inactive)
  • Made Man
  • *
  • Posts: 229
  • Boss
    • View Profile
    • TDH Clan Site
Re: pawno compiler question
« Reply #2 on: March 03, 2010, 07: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.