Remove unused variable 15/106815/2
authorJeongho Mok <jho.mok@samsung.com>
Fri, 23 Dec 2016 06:56:51 +0000 (15:56 +0900)
committerJeongho Mok <jho.mok@samsung.com>
Mon, 26 Dec 2016 03:53:36 +0000 (12:53 +0900)
[Version] 5.0.112
[Profile] Common
[Issue Type] Warning

Change-Id: I8fda235ee4854f0c777d8a607a5227329c8c95bb

packaging/pulseaudio-modules-tizen.spec
src/stream-manager.c

index de51cd7..1f5d53d 100644 (file)
@@ -1,6 +1,6 @@
 Name:             pulseaudio-modules-tizen
 Summary:          Pulseaudio modules for Tizen
-Version:          5.0.111
+Version:          5.0.112
 Release:          0
 Group:            Multimedia/Audio
 License:          LGPL-2.1+
index 5d4dcff..f26cea3 100644 (file)
@@ -1024,7 +1024,6 @@ static void handle_set_stream_route_devices(DBusConnection *conn, DBusMessage *m
                 }
             } else if (m->cur_highest_priority.source_output) {
                 if (pa_idxset_get_by_data(sp->idx_source_outputs, m->cur_highest_priority.source_output, NULL)) {
-                    const char *stream_role;
                     pa_log_debug(" -- cur_highest_priority.source_output->index[%u] belongs to this parent id[%u], do notify for the route change",
                             (m->cur_highest_priority.source_output)->index, id);
                     do_notify(m, NOTIFY_COMMAND_CHANGE_ROUTE_START, STREAM_SOURCE_OUTPUT, false, m->cur_highest_priority.source_output);
@@ -1066,7 +1065,6 @@ static void handle_set_stream_route_devices(DBusConnection *conn, DBusMessage *m
                 }
             } else if (m->cur_highest_priority.sink_input) {
                 if (pa_idxset_get_by_data(sp->idx_sink_inputs, m->cur_highest_priority.sink_input, NULL)) {
-                    const char *stream_role;
                     pa_log_debug(" -- cur_highest_priority.sink_input->index[%u] belongs to this parent id[%u], do notify for the route change",
                             (m->cur_highest_priority.sink_input)->index, id);
                     do_notify(m, NOTIFY_COMMAND_CHANGE_ROUTE_START, STREAM_SINK_INPUT, false, m->cur_highest_priority.sink_input);
@@ -3195,8 +3193,6 @@ static pa_hook_result_t sink_input_new_cb(pa_core *core, pa_sink_input_new_data
 }
 
 static pa_hook_result_t sink_input_put_cb(pa_core *core, pa_sink_input *i, pa_stream_manager *m) {
-    const char *stream_role;
-
     pa_core_assert_ref(core);
     pa_sink_input_assert_ref(i);
 
@@ -3212,7 +3208,6 @@ static pa_hook_result_t sink_input_put_cb(pa_core *core, pa_sink_input *i, pa_st
 }
 
 static pa_hook_result_t sink_input_unlink_cb(pa_core *core, pa_sink_input *i, pa_stream_manager *m) {
-    const char *stream_role;
     pa_core_assert_ref(core);
     pa_sink_input_assert_ref(i);
 
@@ -3301,7 +3296,6 @@ static pa_hook_result_t source_output_new_cb(pa_core *core, pa_source_output_new
 }
 
 static pa_hook_result_t source_output_put_cb(pa_core *core, pa_source_output *o, pa_stream_manager *m) {
-    const char *stream_role;
     pa_core_assert_ref(core);
     pa_source_output_assert_ref(o);
 
@@ -3318,7 +3312,6 @@ static pa_hook_result_t source_output_put_cb(pa_core *core, pa_source_output *o,
 }
 
 static pa_hook_result_t source_output_unlink_cb(pa_core *core, pa_source_output *o, pa_stream_manager *m) {
-    const char *stream_role;
     pa_core_assert_ref(core);
     pa_source_output_assert_ref(o);