shadowing warnings for variables with the same name used both in global and local context. Really this needs either to rename all the global variables something different (prefix them with gl_ or something) or even better get rid of them altogether.
Ported by: Ramsubramanyam <Ramsubramanyam@infosys.com>, Atul Kabra <Atul_Kabra@infosys.com>, Maneesh Jhinger <maneesh_jhinger@infosys.com> Reviewed by: lukem