Fixing critical compiler warnings about nested variable definitions
being ignored.