mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-02 14:04:47 -04:00
Warning cleanup, fix travis config
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user