From 436372f668578be454a1e26b246076655cd62358 Mon Sep 17 00:00:00 2001 From: Seungbae Shin Date: Mon, 31 Jul 2017 12:56:48 +0900 Subject: [PATCH] Fix 'set but not used' build warning [Version] 5.0.121 [Issue Type] Cleanup Change-Id: Ia9ddcc066f55c9015f5955e4002da2a1bb779968 --- packaging/pulseaudio.spec | 2 +- src/modules/alsa/alsa-sink.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/pulseaudio.spec b/packaging/pulseaudio.spec index 7e6b13f..cb95e4d 100644 --- a/packaging/pulseaudio.spec +++ b/packaging/pulseaudio.spec @@ -12,7 +12,7 @@ Name: pulseaudio Summary: Improved Linux sound server Version: 5.0 -Release: 120 +Release: 121 Group: Multimedia/Audio License: LGPL-2.1 URL: http://pulseaudio.org diff --git a/src/modules/alsa/alsa-sink.c b/src/modules/alsa/alsa-sink.c index ae715f8..47688a6 100644 --- a/src/modules/alsa/alsa-sink.c +++ b/src/modules/alsa/alsa-sink.c @@ -1696,8 +1696,8 @@ static int process_rewind(struct userdata *u) { pa_log_debug("Limited to %lu bytes.", (unsigned long) rewind_nbytes); #ifdef TIZEN_PROFILE_TV - in_frames = 0; - out_frames = 0; + in_frames = out_frames = 0; + pa_log_debug("in_frames : %lu", (unsigned long) in_frames); #else in_frames = (snd_pcm_sframes_t) (rewind_nbytes / u->frame_size); pa_log_debug("before: %lu", (unsigned long) in_frames); -- 2.7.4