summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-10-24 14:23:11 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-10-24 14:23:11 (GMT)
commit384fda81a9849f80365b75245e8b5f9407a476c6 (patch)
tree60346c0642b8616034ddd17ad7b8b1b131b24307 /Source
parent1f6a3c67b1cc225f9f6873278c117820a2dee3b2 (diff)
downloadCMake-384fda81a9849f80365b75245e8b5f9407a476c6.zip
CMake-384fda81a9849f80365b75245e8b5f9407a476c6.tar.gz
CMake-384fda81a9849f80365b75245e8b5f9407a476c6.tar.bz2
Try to remove some warnings
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 01844f8..2e97a83 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -602,9 +602,10 @@ void cmMakefile::AddGlobalLinkInformation(const char* name, cmTarget& target)
// for these targets do not add anything
switch(target.GetType())
{
- case cmTarget::UTILITY: return;
- case cmTarget::INSTALL_FILES: return;
- case cmTarget::INSTALL_PROGRAMS: return;
+ case cmTarget::UTILITY:
+ case cmTarget::INSTALL_FILES:
+ case cmTarget::INSTALL_PROGRAMS:
+ return;
default:;
}
std::vector<std::string>::iterator j;
@@ -1209,7 +1210,7 @@ void cmMakefile::RemoveFunctionBlocker(const char *name,
cmFunctionBlocker* b = *pos;
m_FunctionBlockers.remove(*pos);
delete b;
- return;
+ break;
}
}