summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-03-01 02:33:33 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-03-01 02:33:33 (GMT)
commitf48a5cedc9b6891a25045c6b450feb1c45353236 (patch)
tree6554ef718a64b4af1f82f42d911913a665b7e2c4 /Source
parent0634c9d78e6d6128dcf81e7a8970711a69a095f2 (diff)
downloadCMake-f48a5cedc9b6891a25045c6b450feb1c45353236.zip
CMake-f48a5cedc9b6891a25045c6b450feb1c45353236.tar.gz
CMake-f48a5cedc9b6891a25045c6b450feb1c45353236.tar.bz2
ENH: fix warnings
Diffstat (limited to 'Source')
-rw-r--r--Source/cmIfCommand.cxx2
-rw-r--r--Source/cmWhileCommand.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx
index f38d265..b39e57c 100644
--- a/Source/cmIfCommand.cxx
+++ b/Source/cmIfCommand.cxx
@@ -141,7 +141,7 @@ IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf,
}
bool cmIfFunctionBlocker::ShouldRemove(const cmListFileFunction& lff,
- cmMakefile& mf)
+ cmMakefile&)
{
if (!cmSystemTools::Strucmp(lff.Name.c_str(),"endif"))
{
diff --git a/Source/cmWhileCommand.cxx b/Source/cmWhileCommand.cxx
index 2836c14..4ebedce 100644
--- a/Source/cmWhileCommand.cxx
+++ b/Source/cmWhileCommand.cxx
@@ -89,7 +89,7 @@ IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf,
}
bool cmWhileFunctionBlocker::
-ShouldRemove(const cmListFileFunction& lff, cmMakefile& mf)
+ShouldRemove(const cmListFileFunction& lff, cmMakefile& )
{
if(!cmSystemTools::Strucmp(lff.Name.c_str(),"endwhile"))
{