summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Source/WXDialog/cmWXCommandLineInfo.cxx2
-rw-r--r--Source/WXDialog/cmWXMainFrame.cxx5
-rw-r--r--Source/WXDialog/wxCMakeSetup.cxx4
-rw-r--r--Source/cmSystemTools.cxx2
-rw-r--r--Source/cmTryCompileCommand.cxx5
5 files changed, 9 insertions, 9 deletions
diff --git a/Source/WXDialog/cmWXCommandLineInfo.cxx b/Source/WXDialog/cmWXCommandLineInfo.cxx
index ffe83cbe50..7cf74e03cf 100644
--- a/Source/WXDialog/cmWXCommandLineInfo.cxx
+++ b/Source/WXDialog/cmWXCommandLineInfo.cxx
@@ -87,7 +87,7 @@ int cmCommandLineInfo::GetBoolValue(const std::string& v) {
// Parse param
void cmCommandLineInfo::ParseParam(const std::string& parameter,
- bool know_about, bool last)
+ bool know_about, bool /*last*/)
{
if(!know_about)
{
diff --git a/Source/WXDialog/cmWXMainFrame.cxx b/Source/WXDialog/cmWXMainFrame.cxx
index efe060973f..cf903ca10f 100644
--- a/Source/WXDialog/cmWXMainFrame.cxx
+++ b/Source/WXDialog/cmWXMainFrame.cxx
@@ -500,7 +500,7 @@ void cmMainFrame::OnResize(wxSizeEvent& event)
this->ResizeInternal();
}
-void cmMainFrame::OnExitTimer(wxEvent& event)
+void cmMainFrame::OnExitTimer(wxEvent&)
{
this->Close();
this->Refresh();
@@ -1045,9 +1045,6 @@ void cmMainFrame::UpdateCacheValuesDisplay()
// Fix size
int sx, sy;
- int total = max * count + 4;
- wxSize sizersize = this->m_CacheValuesSizer->GetSize();
-
this->m_CacheValuesScroll->GetClientSize(&sx, &sy);
wxSize size2 = this->m_CacheValuesPanel->GetSize();
sy = size2.GetHeight();
diff --git a/Source/WXDialog/wxCMakeSetup.cxx b/Source/WXDialog/wxCMakeSetup.cxx
index d6bd37bc88..644c9ac8bc 100644
--- a/Source/WXDialog/wxCMakeSetup.cxx
+++ b/Source/WXDialog/wxCMakeSetup.cxx
@@ -87,8 +87,8 @@ public:
{
wxPanel *panel = new wxPanel(this, -1);
panel->SetBackgroundColour(*wxRED);
- wxTextCtrl * text = new wxTextCtrl(panel, -1, "Test", wxPoint(40, 5));
- wxButton * bt = new wxButton(panel, -1, "Test", wxPoint(-1, 5));
+ new wxTextCtrl(panel, -1, "Test", wxPoint(40, 5));
+ new wxButton(panel, -1, "Test", wxPoint(-1, 5));
}
};
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 08b414d405..a5a61027d6 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -16,7 +16,7 @@
=========================================================================*/
#include "cmSystemTools.h"
#include "errno.h"
-#include "stdio.h"
+#include <stdio.h>
#include <sys/stat.h>
#include "cmRegularExpression.h"
#include <ctype.h>
diff --git a/Source/cmTryCompileCommand.cxx b/Source/cmTryCompileCommand.cxx
index cc949d1742..fa909576e8 100644
--- a/Source/cmTryCompileCommand.cxx
+++ b/Source/cmTryCompileCommand.cxx
@@ -206,13 +206,16 @@ bool cmTryCompileCommand::InitialPass(std::vector<std::string> const& argv)
return true;
}
-
+
+static void cmTryCompileCommandNotUsed(bool){}
+
void cmTryCompileCommand::CleanupFiles(const char* binDir, bool recursive)
{
if ( !binDir )
{
return;
}
+ cmTryCompileCommandNotUsed(recursive);
#ifdef WIN32
if ( recursive )
{