ERR: Fixed unused parameter warning.

This commit is contained in:
Brad King 2002-11-20 09:06:23 -05:00
parent f3e7681ff4
commit f87d7039e2
1 changed files with 8 additions and 6 deletions

View File

@ -283,10 +283,9 @@ void cmLocalUnixMakefileGenerator::OutputMakefile(const char* file,
std::string
cmLocalUnixMakefileGenerator::GetOutputExtension(const char* s)
{
#if defined(_WIN32) && ! defined(__CYGWIN__)
std::string cmLocalUnixMakefileGenerator::GetOutputExtension(const char* s)
{
std::string sourceExtension = s;
if(sourceExtension == "def")
{
@ -301,10 +300,13 @@ cmLocalUnixMakefileGenerator::GetOutputExtension(const char* s)
return ".res";
}
return ".obj";
#else
return ".o";
#endif
}
#else
std::string cmLocalUnixMakefileGenerator::GetOutputExtension(const char*)
{
return ".o";
}
#endif