Removed local declaration, local variables cannot be volatile