diff --git a/src/toolbars/DeviceToolBar.cpp b/src/toolbars/DeviceToolBar.cpp index 24b89b0bd..c26656a1d 100644 --- a/src/toolbars/DeviceToolBar.cpp +++ b/src/toolbars/DeviceToolBar.cpp @@ -812,8 +812,6 @@ void DeviceToolBar::ChangeDevice(bool isInput) void DeviceToolBar::OnChoice(wxCommandEvent &event) { - int outputSelectionIndex; - wxObject *eventObject = event.GetEventObject(); //if we've changed hosts, we've handled the device switching already. if (eventObject == mHost) {