Fixed unused variable warning when updater is not used