Removing unused variable warning by adding #pragma unused()