Warnings - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Warnings (
/showthread.php?tid=146622)
Warnings -
Bomber - 08.05.2010
Why im getting these warnings:
Код:
C:\-----\R1.pwn(4482) : warning 204: symbol is assigned a value that is never used: "BuildCheckPointCount"
C:\-----\R1.pwn(4454) : warning 204: symbol is assigned a value that is never used: "BuildModeVID"
C:\-----\R1.pwn(4414) : warning 204: symbol is assigned a value that is never used: "BuildRaceType"
C:\-----\R1.pwn(4484) : warning 204: symbol is assigned a value that is never used: "BuildTakeCheckpoints"
C:\-----\R1.pwn(4485) : warning 204: symbol is assigned a value that is never used: "BuildTakeVehPos"
C:\-----\R1.pwn(4483) : warning 204: symbol is assigned a value that is never used: "BuildVehPosCount"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
6 Warnings.
Line 4482: BuildCheckPointCount = 0;
Line 4454: BuildModeVID = ReturnVehicleID(inputtext);
Line 4414: case 1: BuildRaceType = 3;
Line 4484: BuildTakeCheckpoints = false;
Line 4485: BuildTakeVehPos = false;
Line 4483: BuildVehPosCount = 0;
HELP .
Re: Warnings -
Mike Garber - 08.05.2010
Because they're created but not used anywhere.
Example;
If you create a string with;
new string[64];
, then you don't use It for nothing. Then you'll get this warning.
It clearly says that in the warnings.... Nothing to worry about.