SA-MP Forums Archive
Find an unused variable - 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)
+--- Thread: Find an unused variable (/showthread.php?tid=574110)



Find an unused variable - JaydenJason - 13.05.2015

Код:
..\gamemodes\sfrpv0.1.7.5.pwn(191288) : warning 203: symbol is never used: "t"
Yet, that line is the end of my gamemode..
It did compile, but I just want that to be gone from the errors u know? I am on -d3 and it still isn't showing it..

How the hell do I find this one? I tried ctrl+f "new t", " t,", ", t;"


Re: Find an unused variable - Azula - 13.05.2015

PHP код:
#pragma unused t 



Re: Find an unused variable - JaydenJason - 13.05.2015

Quote:
Originally Posted by Azula
Посмотреть сообщение
PHP код:
#pragma unused t 
Alright that got the job done, thank you


Re: Find an unused variable - Azula - 13.05.2015

it's more better if you can find the "t" lol


Re: Find an unused variable - JaydenJason - 13.05.2015

Quote:
Originally Posted by Azula
Посмотреть сообщение
it's more better if you can find the "t" lol
Yeah lol just found out, when I searched for "CMD:resethouse" I accidently pressed "t" and replaced it >.<