SA-MP Forums Archive
All the 'new' having warning not used - 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: All the 'new' having warning not used (/showthread.php?tid=522886)



All the 'new' having warning not used - GoldZoroGrab - 29.06.2014

Hello

Suddenly when I compiled my script alll the 'new' having an warning
symbol is assigned a value that is never used: "Something"

about 191 warnings like this same exactly but only different in " "

should i update any include or idk what??

sorry for my english


Re: All the 'new' having warning not used - PrivatioBoni - 29.06.2014

It means you've done, e.g.

pawn Код:
new something;
But have not actually used it.


Re : All the 'new' having warning not used - Clad - 29.06.2014

It means you have this
pawn Код:
new
But there are no use of it, So better delete it :/


Re: All the 'new' having warning not used - GoldZoroGrab - 29.06.2014

Nope brothers

Allllll my things that have 'new' got the same warnings and all of them are used, it happened suddenly. As i Said I've got 191 warnings [ALL my 'new' got the same warning].


Re: All the 'new' having warning not used - PrivatioBoni - 29.06.2014

Go back to a backup and see what caused it? o_O


Re: All the 'new' having warning not used - GoldZoroGrab - 29.06.2014

Nothing, I opened it and made a compile and it was shown!

By the way I'm running pawno using a mac, wine program so I can run windows app in the mac, maybe that caused this problem??