Fix remaining unused parameters

This commit is contained in:
Stanisław Pitucha 2016-01-27 11:45:54 +11:00
parent e24e9a44d7
commit c1eb1de1bd
4 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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();

View File

@ -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);
} }

View File

@ -240,7 +240,7 @@ void ScopeCanvas::OnMouseMoved(wxMouseEvent& event) {
} }
} }
void ScopeCanvas::OnMouseWheelMoved(wxMouseEvent& event) { void ScopeCanvas::OnMouseWheelMoved(wxMouseEvent& /* event */) {
} }