Posts: 111
Threads: 34
Joined: Jul 2009
Reputation:
0
warning 219: local variable "string" shadows a variable at a preceding level
Posts: 6,340
Threads: 58
Joined: May 2009
Reputation:
0
Rename one of the variables. You have one global variable which has the same name as the local one.
Posts: 771
Threads: 135
Joined: Aug 2009
Reputation:
0
You could do that, but, there is no point, its just a warning, you could simply ignore it!
Posts: 370
Threads: 21
Joined: Jun 2009
Reputation:
0
Just do what Don Corelli said
If you have something like string[64];
and you made a command with something like
string[64]; again, just remove this one, and the warning will/should go away.
To the other post that said to ignore it, when you ignore it, thats wasting memory.