summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMok Jeongho <jho.mok@samsung.com>2016-03-16 06:22:11 (GMT)
committerMok Jeongho <jho.mok@samsung.com>2016-03-16 06:22:43 (GMT)
commit568852f0ea4a20d01445abe0957b55e7771436c3 (patch)
treed3fe19aa8025e029ad1c9c952703e9d4e818b70c
parent169b3a4d31a4a25f03e82922dd3f1793a9a75a76 (diff)
downloadaudio-session-manager-568852f0ea4a20d01445abe0957b55e7771436c3.zip
audio-session-manager-568852f0ea4a20d01445abe0957b55e7771436c3.tar.gz
audio-session-manager-568852f0ea4a20d01445abe0957b55e7771436c3.tar.bz2
Fix build warningstizen_4.0.m2_releasetizen_4.0.m1_releasetizen_4.0.IoT.p2_releasetizen_4.0.IoT.p1_releasesubmit/tizen_unified/20170308.100408submit/tizen_5.0/20181101.000003submit/tizen_4.0/20170828.110004submit/tizen_4.0/20170828.100004submit/tizen_4.0/20170811.094300submit/tizen_3.0_wearable/20161015.000000submit/tizen_3.0_tv/20161015.000000submit/tizen_3.0_mobile/20161015.000000submit/tizen_3.0_ivi/20161010.000010submit/tizen_3.0_ivi/20161010.000000submit/tizen_3.0_common/20161104.104000submit/tizen_3.0.m2/20170104.093750submit/tizen/20160316.075849accepted/tizen/wearable/20160318.111533accepted/tizen/unified/20170309.033516accepted/tizen/tv/20160318.111445accepted/tizen/mobile/20160318.111207accepted/tizen/ivi/20160318.111916accepted/tizen/common/20160316.160758accepted/tizen/5.0/unified/20181102.015945accepted/tizen/4.0/unified/20170829.020428accepted/tizen/4.0/unified/20170816.011032accepted/tizen/3.0/wearable/20161015.080327accepted/tizen/3.0/tv/20161016.003415accepted/tizen/3.0/mobile/20161015.032250accepted/tizen/3.0/ivi/20161011.053512accepted/tizen/3.0/common/20161114.105753accepted/tizen/3.0.m2/wearable/20170104.125757accepted/tizen/3.0.m2/tv/20170104.125555accepted/tizen/3.0.m2/mobile/20170104.125213tizen_5.0tizen_4.0_tvtizen_4.0tizen_3.0_tvtizen_3.0.m2tizen_3.0accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonaccepted/tizen_5.0_unifiedaccepted/tizen_4.0_unifiedaccepted/tizen_3.0_wearableaccepted/tizen_3.0_tvaccepted/tizen_3.0_mobileaccepted/tizen_3.0_iviaccepted/tizen_3.0_commonaccepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_tvaccepted/tizen_3.0.m2_mobilerefs/changes/55/62455/1
[Version] Release 0.3.2 [Profile] Common [Issue Type] Fix Warning Change-Id: If6b02024dbf2a88049d15344d4515764244b64e0
-rw-r--r--packaging/audio-session-manager.spec2
-rwxr-xr-xsrc/audio-session-mgr.c6
2 files changed, 1 insertions, 7 deletions
diff --git a/packaging/audio-session-manager.spec b/packaging/audio-session-manager.spec
index cfd68cb..73e6dc7 100644
--- a/packaging/audio-session-manager.spec
+++ b/packaging/audio-session-manager.spec
@@ -1,6 +1,6 @@
Name: audio-session-manager
Summary: Audio Session Manager
-Version: 0.3.1
+Version: 0.3.2
Release: 0
Group: Multimedia/Service
License: Apache-2.0
diff --git a/src/audio-session-mgr.c b/src/audio-session-mgr.c
index 12343b4..493df71 100755
--- a/src/audio-session-mgr.c
+++ b/src/audio-session-mgr.c
@@ -66,10 +66,6 @@
#define NO_EINTR(stmt) while ((stmt) == -1 && errno == EINTR); /* sample code by THE LINUX PROGRAMMING INTERFACE */
-static int asm_snd_msgid;
-static int asm_rcv_msgid;
-static int asm_cb_msgid;
-
static ASM_msg_lib_to_asm_t asm_snd_msg;
static ASM_msg_asm_to_lib_t asm_rcv_msg;
@@ -2452,7 +2448,6 @@ static void __attribute__((constructor)) __ASM_init_module(void)
int asm_index = 0;
debug_fenter();
- g_type_init();
for (asm_index = 0; asm_index < ASM_HANDLE_MAX; asm_index++) {
ASM_sound_handle[asm_index].handle = ASM_HANDLE_INIT_VAL;
@@ -2482,7 +2477,6 @@ static void __attribute__((destructor)) __ASM_fini_module(void)
int asm_index = 0;
GError *err = NULL;
GDBusConnection *conn = NULL;
- GVariant *client_variant = NULL;
conn = g_bus_get_sync(G_BUS_TYPE_SYSTEM, NULL, &err);
if (!conn && err) {