mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-26 13:48:38 -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) {
|
||||
AudioThread *src = (AudioThread *) userData;
|
||||
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();
|
||||
|
||||
selectedModule = strSel.ToStdString();
|
||||
@ -33,12 +33,12 @@ void SDRDeviceAddDialog::OnSoapyModuleChanged( wxCommandEvent& event ) {
|
||||
}
|
||||
}
|
||||
|
||||
void SDRDeviceAddDialog::OnCancelButton( wxCommandEvent& event ) {
|
||||
void SDRDeviceAddDialog::OnCancelButton( wxCommandEvent& /* event */) {
|
||||
okPressed = false;
|
||||
Close(true);
|
||||
}
|
||||
|
||||
void SDRDeviceAddDialog::OnOkButton( wxCommandEvent& event ) {
|
||||
void SDRDeviceAddDialog::OnOkButton( wxCommandEvent& /* event */) {
|
||||
wxString strSel = m_soapyModule->GetStringSelection();
|
||||
selectedModule = strSel.ToStdString();
|
||||
moduleParam = m_paramText->GetValue().ToStdString();
|
||||
|
@ -52,7 +52,7 @@ void UITestCanvas::OnPaint(wxPaintEvent& WXUNUSED(event)) {
|
||||
SwapBuffers();
|
||||
}
|
||||
|
||||
void UITestCanvas::OnIdle(wxIdleEvent &event) {
|
||||
void UITestCanvas::OnIdle(wxIdleEvent& /* event */) {
|
||||
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