how can i fix it
#1

warning 219: local variable "string" shadows a variable at a preceding level
Reply
#2

Rename one of the variables. You have one global variable which has the same name as the local one.
Reply
#3

You could do that, but, there is no point, its just a warning, you could simply ignore it!
Reply
#4

Quote:
Originally Posted by Tigerbeast11
You could do that, but, there is no point, its just a warning, you could simply ignore it!
No, don't ignore it. Ignoring it would make it as "no point".
Reply
#5

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


Forum Jump:


Users browsing this thread: 1 Guest(s)