COMP: Remove warnings

This commit is contained in:
Andy Cedilnik 2005-12-30 12:58:00 -05:00
parent 9e0633c910
commit 416bbaef53
2 changed files with 4 additions and 0 deletions

View File

@ -114,6 +114,9 @@ cmStdString cmFindFileCommand::FindHeaderInFrameworks(
const char* file) const char* file)
{ {
#ifndef __APPLE__ #ifndef __APPLE__
(void)path;
(void)defineVar;
(void)file;
return cmStdString(""); return cmStdString("");
#else #else
cmStdString fileName = file; cmStdString fileName = file;

View File

@ -307,6 +307,7 @@ void cmTarget::AddLinkLibrary(const std::string& lib,
bool cmTarget::AddFramework(const std::string& libname, LinkLibraryType llt) bool cmTarget::AddFramework(const std::string& libname, LinkLibraryType llt)
{ {
(void)llt; // TODO: What is this?
if(cmSystemTools::IsPathToFramework(libname.c_str())) if(cmSystemTools::IsPathToFramework(libname.c_str()))
{ {
std::string frameworkDir = libname; std::string frameworkDir = libname;