Possible Duplicate:
casting unused return values to void
C++ What is the purpose of casting to void?
After downloading and building the GDCM code using CMake, I stumbled upon this:
void error_callback(const char *msg, void *) {
(void)msg;
gdcmErrorMacro( "Error in gdcmopenjpeg" << msg );
}
What does the first line do? Never seen something like that. Keep in mind that I told CMake to build using Visual Studio 2010, if that matters.