diff options
author | Brad King <brad.king@kitware.com> | 2002-11-20 14:06:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-11-20 14:06:23 (GMT) |
commit | f87d7039e24635b92e3793b8f19df390e084be73 (patch) | |
tree | 579037c5092e7655c24ae0094fe0f4d60738e93c /Source | |
parent | f3e7681ff49203ff103a544f2aa7a89ec5e5d01f (diff) | |
download | CMake-f87d7039e24635b92e3793b8f19df390e084be73.zip CMake-f87d7039e24635b92e3793b8f19df390e084be73.tar.gz CMake-f87d7039e24635b92e3793b8f19df390e084be73.tar.bz2 |
ERR: Fixed unused parameter warning.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx index 52af3e5..164ce5e 100644 --- a/Source/cmLocalUnixMakefileGenerator.cxx +++ b/Source/cmLocalUnixMakefileGenerator.cxx @@ -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 +std::string cmLocalUnixMakefileGenerator::GetOutputExtension(const char*) +{ return ".o"; -#endif } +#endif |