input_autodetect.c - Fix 'declaration shadows a global variable' warning