From: Mok Jeongho Date: Wed, 16 Mar 2016 06:22:11 +0000 (+0900) Subject: Fix build warnings X-Git-Tag: accepted/tizen/3.0.m2/mobile/20170104.125213^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_4.0_tv;p=platform%2Fcore%2Fmultimedia%2Faudio-session-manager.git Fix build warnings [Version] Release 0.3.2 [Profile] Common [Issue Type] Fix Warning Change-Id: If6b02024dbf2a88049d15344d4515764244b64e0 --- 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) {