Try to remove some warnings
This commit is contained in:
parent
5843ae455e
commit
48fe81acdd
@ -87,7 +87,7 @@ int cmCommandLineInfo::GetBoolValue(const std::string& v) {
|
|||||||
// Parse param
|
// Parse param
|
||||||
|
|
||||||
void cmCommandLineInfo::ParseParam(const std::string& parameter,
|
void cmCommandLineInfo::ParseParam(const std::string& parameter,
|
||||||
bool know_about, bool last)
|
bool know_about, bool /*last*/)
|
||||||
{
|
{
|
||||||
if(!know_about)
|
if(!know_about)
|
||||||
{
|
{
|
||||||
|
@ -500,7 +500,7 @@ void cmMainFrame::OnResize(wxSizeEvent& event)
|
|||||||
this->ResizeInternal();
|
this->ResizeInternal();
|
||||||
}
|
}
|
||||||
|
|
||||||
void cmMainFrame::OnExitTimer(wxEvent& event)
|
void cmMainFrame::OnExitTimer(wxEvent&)
|
||||||
{
|
{
|
||||||
this->Close();
|
this->Close();
|
||||||
this->Refresh();
|
this->Refresh();
|
||||||
@ -1045,9 +1045,6 @@ void cmMainFrame::UpdateCacheValuesDisplay()
|
|||||||
|
|
||||||
// Fix size
|
// Fix size
|
||||||
int sx, sy;
|
int sx, sy;
|
||||||
int total = max * count + 4;
|
|
||||||
wxSize sizersize = this->m_CacheValuesSizer->GetSize();
|
|
||||||
|
|
||||||
this->m_CacheValuesScroll->GetClientSize(&sx, &sy);
|
this->m_CacheValuesScroll->GetClientSize(&sx, &sy);
|
||||||
wxSize size2 = this->m_CacheValuesPanel->GetSize();
|
wxSize size2 = this->m_CacheValuesPanel->GetSize();
|
||||||
sy = size2.GetHeight();
|
sy = size2.GetHeight();
|
||||||
|
@ -87,8 +87,8 @@ public:
|
|||||||
{
|
{
|
||||||
wxPanel *panel = new wxPanel(this, -1);
|
wxPanel *panel = new wxPanel(this, -1);
|
||||||
panel->SetBackgroundColour(*wxRED);
|
panel->SetBackgroundColour(*wxRED);
|
||||||
wxTextCtrl * text = new wxTextCtrl(panel, -1, "Test", wxPoint(40, 5));
|
new wxTextCtrl(panel, -1, "Test", wxPoint(40, 5));
|
||||||
wxButton * bt = new wxButton(panel, -1, "Test", wxPoint(-1, 5));
|
new wxButton(panel, -1, "Test", wxPoint(-1, 5));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
=========================================================================*/
|
=========================================================================*/
|
||||||
#include "cmSystemTools.h"
|
#include "cmSystemTools.h"
|
||||||
#include "errno.h"
|
#include "errno.h"
|
||||||
#include "stdio.h"
|
#include <stdio.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include "cmRegularExpression.h"
|
#include "cmRegularExpression.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
@ -206,13 +206,16 @@ bool cmTryCompileCommand::InitialPass(std::vector<std::string> const& argv)
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void cmTryCompileCommandNotUsed(bool){}
|
||||||
|
|
||||||
void cmTryCompileCommand::CleanupFiles(const char* binDir, bool recursive)
|
void cmTryCompileCommand::CleanupFiles(const char* binDir, bool recursive)
|
||||||
{
|
{
|
||||||
if ( !binDir )
|
if ( !binDir )
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
cmTryCompileCommandNotUsed(recursive);
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
if ( recursive )
|
if ( recursive )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user