Try to remove some warnings

This commit is contained in:
Andy Cedilnik 2002-10-24 10:23:11 -04:00
parent 1f6a3c67b1
commit 384fda81a9
1 changed files with 5 additions and 4 deletions

View File

@ -602,9 +602,10 @@ void cmMakefile::AddGlobalLinkInformation(const char* name, cmTarget& target)
// for these targets do not add anything // for these targets do not add anything
switch(target.GetType()) switch(target.GetType())
{ {
case cmTarget::UTILITY: return; case cmTarget::UTILITY:
case cmTarget::INSTALL_FILES: return; case cmTarget::INSTALL_FILES:
case cmTarget::INSTALL_PROGRAMS: return; case cmTarget::INSTALL_PROGRAMS:
return;
default:; default:;
} }
std::vector<std::string>::iterator j; std::vector<std::string>::iterator j;
@ -1209,7 +1210,7 @@ void cmMakefile::RemoveFunctionBlocker(const char *name,
cmFunctionBlocker* b = *pos; cmFunctionBlocker* b = *pos;
m_FunctionBlockers.remove(*pos); m_FunctionBlockers.remove(*pos);
delete b; delete b;
return; break;
} }
} }