summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalNMakeMakefileGenerator.cxx2
-rw-r--r--Source/cmGlobalVisualStudio6Generator.cxx2
-rw-r--r--Source/cmGlobalVisualStudio7Generator.cxx4
-rw-r--r--Source/cmLocalVisualStudio6Generator.cxx2
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx2
-rw-r--r--Source/cmake.cxx2
6 files changed, 7 insertions, 7 deletions
diff --git a/Source/cmGlobalNMakeMakefileGenerator.cxx b/Source/cmGlobalNMakeMakefileGenerator.cxx
index 5aa7314..a5560b4 100644
--- a/Source/cmGlobalNMakeMakefileGenerator.cxx
+++ b/Source/cmGlobalNMakeMakefileGenerator.cxx
@@ -18,7 +18,7 @@
#include "cmLocalNMakeMakefileGenerator.h"
#include "cmMakefile.h"
-void cmGlobalNMakeMakefileGenerator::EnableLanguage(const char* lang,
+void cmGlobalNMakeMakefileGenerator::EnableLanguage(const char*,
cmMakefile *mf)
{
// now load the settings
diff --git a/Source/cmGlobalVisualStudio6Generator.cxx b/Source/cmGlobalVisualStudio6Generator.cxx
index 8000c6a..4c91f55 100644
--- a/Source/cmGlobalVisualStudio6Generator.cxx
+++ b/Source/cmGlobalVisualStudio6Generator.cxx
@@ -19,7 +19,7 @@
#include "cmMakefile.h"
#include "cmake.h"
-void cmGlobalVisualStudio6Generator::EnableLanguage(const char* lang,
+void cmGlobalVisualStudio6Generator::EnableLanguage(const char*,
cmMakefile *mf)
{
if (!m_LanguagesEnabled)
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx
index b23fde8..57be2fa 100644
--- a/Source/cmGlobalVisualStudio7Generator.cxx
+++ b/Source/cmGlobalVisualStudio7Generator.cxx
@@ -20,8 +20,8 @@
#include "cmake.h"
#include "windows.h"
-void cmGlobalVisualStudio7Generator::EnableLanguage(const char* lang,
- cmMakefile *mf)
+void cmGlobalVisualStudio7Generator::EnableLanguage(const char*,
+ cmMakefile *mf)
{
if (!m_LanguagesEnabled)
{
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx
index dad9798..4add495 100644
--- a/Source/cmLocalVisualStudio6Generator.cxx
+++ b/Source/cmLocalVisualStudio6Generator.cxx
@@ -30,7 +30,7 @@ cmLocalVisualStudio6Generator::~cmLocalVisualStudio6Generator()
}
-void cmLocalVisualStudio6Generator::Generate(bool fromTheTop)
+void cmLocalVisualStudio6Generator::Generate(bool /* fromTheTop */)
{
// this is misnammed right now, it doesn't really generate the makefile but
// instead sets up the Makefile for generation
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 95e2234..60fe44e 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -30,7 +30,7 @@ cmLocalVisualStudio7Generator::~cmLocalVisualStudio7Generator()
}
-void cmLocalVisualStudio7Generator::Generate(bool fromTheTop)
+void cmLocalVisualStudio7Generator::Generate(bool /* fromTheTop */)
{
// this is misnammed right now, it doesn't really generate the makefile but
// instead sets up the Makefile for generation
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 2b9864a..0b12ce5 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -109,7 +109,7 @@ void cmake::ReadListFile(const char *path)
{
// if a generator was not yet created, temporarily create one
cmGlobalGenerator *gg = this->GetGlobalGenerator();
- bool created;
+ bool created = false;
// if a generator was not specified use a generic one
if (!gg)