Removing unused variable warning message