Warning cleanup, fix travis config

This commit is contained in:
Charles J. Cliffe
2019-01-10 20:49:05 -05:00
parent 3a594de37f
commit e75387c25d
24 changed files with 41 additions and 41 deletions
+2 -2
View File
@@ -689,7 +689,7 @@ void BookmarkView::refreshLayout() {
}
wxButton *BookmarkView::makeButton(wxWindow *parent, std::string labelVal, wxObjectEventFunction handler) {
wxButton *BookmarkView::makeButton(wxWindow * /* parent */, std::string labelVal, wxObjectEventFunction handler) {
wxButton *nButton = new wxButton( m_buttonPanel, wxID_ANY, labelVal);
nButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, handler, nullptr, this);
@@ -1553,7 +1553,7 @@ void BookmarkView::onSearchTextFocus( wxMouseEvent& event ) {
}
void BookmarkView::onSearchText( wxCommandEvent& event ) {
void BookmarkView::onSearchText( wxCommandEvent& /* event */ ) {
std::wstring searchText = m_searchText->GetValue().Trim().Lower().ToStdWstring();
+2 -2
View File
@@ -36,7 +36,7 @@ void ActionDialog::setActiveDialog(ActionDialog *dlg) {
}
void ActionDialog::onClickCancel( wxCommandEvent& event ) {
void ActionDialog::onClickCancel( wxCommandEvent& /* event */ ) {
ActionDialog *dlg = activeDialog;
ActionDialog::setActiveDialog(nullptr);
dlg->EndModal(0);
@@ -45,7 +45,7 @@ void ActionDialog::onClickCancel( wxCommandEvent& event ) {
}
void ActionDialog::onClickOK( wxCommandEvent& event ) {
void ActionDialog::onClickOK( wxCommandEvent& /* event */ ) {
ActionDialog *dlg = activeDialog;
ActionDialog::setActiveDialog(nullptr);
dlg->EndModal(0);
+3 -3
View File
@@ -21,7 +21,7 @@ PortSelectorDialog::PortSelectorDialog( wxWindow* parent, wxWindowID id, std::st
m_portSelection->SetValue(defaultPort);
}
void PortSelectorDialog::onListSelect( wxCommandEvent& event ) {
void PortSelectorDialog::onListSelect( wxCommandEvent& /* event */ ) {
int pSelect = m_portList->GetSelection();
if (pSelect != -1) {
m_portSelection->SetValue(m_portList->GetString(pSelect));
@@ -29,11 +29,11 @@ void PortSelectorDialog::onListSelect( wxCommandEvent& event ) {
}
void PortSelectorDialog::onCancelButton( wxCommandEvent& event ) {
void PortSelectorDialog::onCancelButton( wxCommandEvent& /* event */ ) {
wxGetApp().getAppFrame()->dismissRigControlPortDialog();
}
void PortSelectorDialog::onOKButton( wxCommandEvent& event ) {
void PortSelectorDialog::onOKButton( wxCommandEvent& /* event */ ) {
wxGetApp().getAppFrame()->setRigControlPort(m_portSelection->GetValue().ToStdString());
}
+5 -5
View File
@@ -14,16 +14,16 @@ DigitalConsole::~DigitalConsole() {
doParent->setDialog(nullptr);
}
void DigitalConsole::OnClose( wxCloseEvent& event ) {
void DigitalConsole::OnClose( wxCloseEvent& /* event */ ) {
doParent->setDialog(nullptr);
}
void DigitalConsole::OnCopy( wxCommandEvent& event ) {
void DigitalConsole::OnCopy( wxCommandEvent& /* event */ ) {
m_dataView->SelectAll();
m_dataView->Copy();
}
void DigitalConsole::OnPause( wxCommandEvent& event ) {
void DigitalConsole::OnPause( wxCommandEvent& /* event */ ) {
if (streamPaused.load()) {
m_pauseButton->SetLabel("Stop");
streamPaused.store(false);
@@ -37,7 +37,7 @@ void DoRefresh( wxTimerEvent& event ) {
event.Skip();
}
void DigitalConsole::DoRefresh( wxTimerEvent& event ) {
void DigitalConsole::DoRefresh( wxTimerEvent& /* event */ ) {
if (streamWritten.load()) {
stream_busy.lock();
m_dataView->AppendText(streamBuf.str());
@@ -47,7 +47,7 @@ void DigitalConsole::DoRefresh( wxTimerEvent& event ) {
}
}
void DigitalConsole::OnClear( wxCommandEvent& event ) {
void DigitalConsole::OnClear( wxCommandEvent& /* event */ ) {
m_dataView->Clear();
}