SA-MP Forums Archive
I am getting a warning, please help - 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: I am getting a warning, please help (/showthread.php?tid=269096)



I am getting a warning, please help - Ehab1911 - 14.07.2011

pawn Код:
D:\SA-MP PROJECT\samp03csvr_R2-2_win32\pawno\include\md5.inc(397) : warning 219: local variable "b" shadows a variable at a preceding level
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase

Header size:          10484 bytes
Code size:          1662572 bytes
Data size:          7740056 bytes
Stack/heap size:      16384 bytes; estimated max. usage=7299 cells (29196 bytes)
Total requirements: 9429496 bytes

1 Warning.



Re: I am getting a warning, please help - xRyder - 14.07.2011

Show us the line 397.

But you should probably leave that warning as it is(for now), and optimize your script!


Re: I am getting a warning, please help - [HiC]TheKiller - 14.07.2011

You have multiple variables called b. Either rename the variable on that line from b or delete it.


Re: I am getting a warning, please help - Ehab1911 - 14.07.2011

forward ini_GetKey( line[] );

That's line 397


Re: I am getting a warning, please help - [HiC]TheKiller - 14.07.2011

It's in the md5.inc that you need to get rid of the variable b from. Or you could get rid of it from your script.


Re: I am getting a warning, please help - Ehab1911 - 14.07.2011

How to get rid of the variable b from?


Re: I am getting a warning, please help - Alzzy - 14.07.2011

Yeah what they said.


Re: I am getting a warning, please help - dr.pepper - 14.07.2011

Try removing line 397 in md5.inc that contains the variable 'b', and re-compile the gm.