Warnings
#1

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 .
Reply
#2

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)