compiler warnings

This commit is contained in:
Ken Martin 2002-09-08 10:17:03 -04:00
parent f229c1c46e
commit 3abb9e240d
6 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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)

View File

@ -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)
{

View File

@ -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

View File

@ -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

View File

@ -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)