Need help with warnings..
#1

Код:
C:\Users\Yaroslav\Desktop\SDRP\pawno\include\Dini.inc(239) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Yaroslav\Desktop\SDRP\pawno\include\utils.inc(1) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Yaroslav\Desktop\SDRP\filterscripts\VehOwn.pwn(894) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Yaroslav\Desktop\SDRP\filterscripts\VehOwn.pwn(3184) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Yaroslav\Desktop\SDRP\filterscripts\VehOwn.pwn(3475) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Yaroslav\Desktop\SDRP\filterscripts\VehOwn.pwn(3782) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Yaroslav\Desktop\SDRP\filterscripts\VehOwn.pwn(4295) : warning 219: local variable "string" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:      2632 bytes
Code size:      189628 bytes
Data size:     2956568 bytes
Stack/heap size:   16384 bytes; estimated max. usage=5160 cells (20640 bytes)
Total requirements: 3165212 bytes

7 Warnings.
1
Код:
#define FILTERSCRIPT
239
Код:
	0,
894
Код:
	new string[256];
3184
Код:
new string[256];
3475
Код:
public LoadVehicles(playerid, string[])
3782
Код:
  new string[128];
4295
Код:
strtok(const string[], &index)
Reply
#2

You probably created the variable string at the top of your script so now all of the other times you created it, it will say that. And those first two warnings are for your includes, not the script.

C:\Users\Yaroslav\Desktop\SDRP\pawno\include\Dini.inc(239)
C:\Users\Yaroslav\Desktop\SDRP\pawno\include\utils.inc(1)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)