summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-30 17:58:00 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-30 17:58:00 (GMT)
commit416bbaef53359b2a354897328877668d7bcd8fea (patch)
tree91aac874e1e324791af9858698f0442d0cb2e50d /Source
parent9e0633c91090e3254056b33bf8bd1ec4533982a6 (diff)
downloadCMake-416bbaef53359b2a354897328877668d7bcd8fea.zip
CMake-416bbaef53359b2a354897328877668d7bcd8fea.tar.gz
CMake-416bbaef53359b2a354897328877668d7bcd8fea.tar.bz2
COMP: Remove warnings
Diffstat (limited to 'Source')
-rw-r--r--Source/cmFindFileCommand.cxx3
-rw-r--r--Source/cmTarget.cxx1
2 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmFindFileCommand.cxx b/Source/cmFindFileCommand.cxx
index b1972f2..d83cc7b 100644
--- a/Source/cmFindFileCommand.cxx
+++ b/Source/cmFindFileCommand.cxx
@@ -114,6 +114,9 @@ cmStdString cmFindFileCommand::FindHeaderInFrameworks(
const char* file)
{
#ifndef __APPLE__
+ (void)path;
+ (void)defineVar;
+ (void)file;
return cmStdString("");
#else
cmStdString fileName = file;
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 2960749..4e2b01c 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -307,6 +307,7 @@ void cmTarget::AddLinkLibrary(const std::string& lib,
bool cmTarget::AddFramework(const std::string& libname, LinkLibraryType llt)
{
+ (void)llt; // TODO: What is this?
if(cmSystemTools::IsPathToFramework(libname.c_str()))
{
std::string frameworkDir = libname;