[Help] Problem with warnings
#1

I dunno what's going on, but when I use sscanf2 on my GM I recieve those warns:

Quote:

C:\Users\Dragonic\Desktop\SA-MP\pawno\include\sscanf2.inc(21 : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Dragonic\Desktop\SA-MP\pawno\include\sscanf2.inc(21 : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Dragonic\Desktop\SA-MP\pawno\include\sscanf2.inc(27 : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Dragonic\Desktop\SA-MP\pawno\include\sscanf2.inc(27 : warning 219: local variable "string" shadows a variable at a preceding level

What could it be?

PS: I don't recieve then when using with other things like my admin fs/any other fs!
Reply
#2

you have another variable with same name defined on those lines. go to each line and delete something like "new string[128];"

edit: wait this is in sscanf2.inc ? lol wtf
Reply
#3

You are using string as a variable before already, change the others to string2 string3 etc..
Reply
#4

I know that, but the thing is that those warning are at sscanf2.inc, and that error only happen when I use it with my GM
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)