Remove unused variable warning