mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-29 23:28:39 -05:00
Fix remaining unused parameters
This commit is contained in:
parent
e24e9a44d7
commit
c1eb1de1bd
@ -49,7 +49,7 @@ void AudioThread::deviceCleanup() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int audioCallback(void *outputBuffer, void *inputBuffer, unsigned int nBufferFrames, double streamTime, RtAudioStreamStatus status,
|
static int audioCallback(void *outputBuffer, void * /* inputBuffer */, unsigned int nBufferFrames, double /* streamTime */, RtAudioStreamStatus status,
|
||||||
void *userData) {
|
void *userData) {
|
||||||
AudioThread *src = (AudioThread *) userData;
|
AudioThread *src = (AudioThread *) userData;
|
||||||
float *out = (float*) outputBuffer;
|
float *out = (float*) outputBuffer;
|
||||||
|
@ -21,7 +21,7 @@ SDRDeviceAddDialog::SDRDeviceAddDialog( wxWindow* parent ): SDRDeviceAddForm( pa
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SDRDeviceAddDialog::OnSoapyModuleChanged( wxCommandEvent& event ) {
|
void SDRDeviceAddDialog::OnSoapyModuleChanged( wxCommandEvent& /* event */) {
|
||||||
wxString strSel = m_soapyModule->GetStringSelection();
|
wxString strSel = m_soapyModule->GetStringSelection();
|
||||||
|
|
||||||
selectedModule = strSel.ToStdString();
|
selectedModule = strSel.ToStdString();
|
||||||
@ -33,12 +33,12 @@ void SDRDeviceAddDialog::OnSoapyModuleChanged( wxCommandEvent& event ) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void SDRDeviceAddDialog::OnCancelButton( wxCommandEvent& event ) {
|
void SDRDeviceAddDialog::OnCancelButton( wxCommandEvent& /* event */) {
|
||||||
okPressed = false;
|
okPressed = false;
|
||||||
Close(true);
|
Close(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SDRDeviceAddDialog::OnOkButton( wxCommandEvent& event ) {
|
void SDRDeviceAddDialog::OnOkButton( wxCommandEvent& /* event */) {
|
||||||
wxString strSel = m_soapyModule->GetStringSelection();
|
wxString strSel = m_soapyModule->GetStringSelection();
|
||||||
selectedModule = strSel.ToStdString();
|
selectedModule = strSel.ToStdString();
|
||||||
moduleParam = m_paramText->GetValue().ToStdString();
|
moduleParam = m_paramText->GetValue().ToStdString();
|
||||||
|
@ -52,7 +52,7 @@ void UITestCanvas::OnPaint(wxPaintEvent& WXUNUSED(event)) {
|
|||||||
SwapBuffers();
|
SwapBuffers();
|
||||||
}
|
}
|
||||||
|
|
||||||
void UITestCanvas::OnIdle(wxIdleEvent &event) {
|
void UITestCanvas::OnIdle(wxIdleEvent& /* event */) {
|
||||||
Refresh(false);
|
Refresh(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -240,7 +240,7 @@ void ScopeCanvas::OnMouseMoved(wxMouseEvent& event) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScopeCanvas::OnMouseWheelMoved(wxMouseEvent& event) {
|
void ScopeCanvas::OnMouseWheelMoved(wxMouseEvent& /* event */) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user