From 3372cd120cdeca82a1f9d89930e9e1fe3323ee21 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sat, 28 Feb 2009 17:35:36 +0000 Subject: Silence some warnings --- src/pavucontrol.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/pavucontrol.cc b/src/pavucontrol.cc index 9634b52..ae0e464 100644 --- a/src/pavucontrol.cc +++ b/src/pavucontrol.cc @@ -470,7 +470,7 @@ void ChannelWidget::onVolumeScaleValueChanged() { ca_context_cancel(ca_gtk_context_get(), 2); - int r = ca_gtk_play_for_widget(GTK_WIDGET(volumeScale->gobj()), + ca_gtk_play_for_widget(GTK_WIDGET(volumeScale->gobj()), 2, CA_PROP_EVENT_DESCRIPTION, _("Volume Control Feedback Sound"), CA_PROP_EVENT_ID, "audio-volume-change", @@ -1207,7 +1207,7 @@ void MainWindow::updateCard(const pa_card_info &info) { w->hasSinks = w->hasSources = false; w->profiles.clear(); - for (int i=0; ihasSinks = w->hasSinks || (info.profiles[i].n_sinks > 0); w->hasSources = w->hasSources || (info.profiles[i].n_sources > 0); w->profiles.insert(std::pair(info.profiles[i].name, info.profiles[i].description)); -- cgit