Fix build warnings 55/62455/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable accepted/tizen_4.0_unified accepted/tizen_5.0_unified accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable tizen_3.0 tizen_3.0.m2 tizen_3.0_tv tizen_4.0 tizen_4.0_tv tizen_5.0 accepted/tizen/3.0.m2/mobile/20170104.125213 accepted/tizen/3.0.m2/tv/20170104.125555 accepted/tizen/3.0.m2/wearable/20170104.125757 accepted/tizen/3.0/common/20161114.105753 accepted/tizen/3.0/ivi/20161011.053512 accepted/tizen/3.0/mobile/20161015.032250 accepted/tizen/3.0/tv/20161016.003415 accepted/tizen/3.0/wearable/20161015.080327 accepted/tizen/4.0/unified/20170816.011032 accepted/tizen/4.0/unified/20170829.020428 accepted/tizen/5.0/unified/20181102.015945 accepted/tizen/common/20160316.160758 accepted/tizen/ivi/20160318.111916 accepted/tizen/mobile/20160318.111207 accepted/tizen/tv/20160318.111445 accepted/tizen/unified/20170309.033516 accepted/tizen/wearable/20160318.111533 submit/tizen/20160316.075849 submit/tizen_3.0.m2/20170104.093750 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000000 submit/tizen_3.0_ivi/20161010.000010 submit/tizen_3.0_mobile/20161015.000000 submit/tizen_3.0_tv/20161015.000000 submit/tizen_3.0_wearable/20161015.000000 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004 submit/tizen_5.0/20181101.000003 submit/tizen_unified/20170308.100408 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m1_release tizen_4.0.m2_release
authorMok Jeongho <jho.mok@samsung.com>
Wed, 16 Mar 2016 06:22:11 +0000 (15:22 +0900)
committerMok Jeongho <jho.mok@samsung.com>
Wed, 16 Mar 2016 06:22:43 +0000 (15:22 +0900)
[Version] Release 0.3.2
[Profile] Common
[Issue Type] Fix Warning

Change-Id: If6b02024dbf2a88049d15344d4515764244b64e0

packaging/audio-session-manager.spec
src/audio-session-mgr.c

index cfd68cb..73e6dc7 100644 (file)
@@ -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
index 12343b4..493df71 100755 (executable)
 
 #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) {