Fix 'set but not used' build warning 27/141327/2 accepted/tizen/4.0/unified/20170816.010257 accepted/tizen/unified/20170801.054919 submit/tizen/20170731.062712 submit/tizen_4.0/20170811.094300
authorSeungbae Shin <seungbae.shin@samsung.com>
Mon, 31 Jul 2017 03:56:48 +0000 (12:56 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Mon, 31 Jul 2017 04:50:18 +0000 (13:50 +0900)
[Version] 5.0.121
[Issue Type] Cleanup

Change-Id: Ia9ddcc066f55c9015f5955e4002da2a1bb779968

packaging/pulseaudio.spec
src/modules/alsa/alsa-sink.c

index 7e6b13f..cb95e4d 100644 (file)
@@ -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
index ae715f8..47688a6 100644 (file)
@@ -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);