Fix build failure due to unused variable left-over from simplification