See topic.
That is VERY annoying.
For the non-programmer types, globals have a TON of advantages over locals. Locals have a small advantage if you want to reuse the name, or a big advantage if you want to have, say, one defined variable track multiple health bars or such. In all other circumstances, globals are more efficient. Some people cry foul that it makes your code "sloppy" or "unreadable", but that's stupid.