From 07424355030624c0c18cb0171bd6851bc776a4b0 Mon Sep 17 00:00:00 2001 From: Sanjay NM Date: Tue, 25 Nov 2014 11:28:32 +0530 Subject: [PATCH] Removed unused result variable from sound_codec_asm_callback Change-Id: Icfde26b3b57c9e81fc37a95f81285a83fe80f4f1 --- server/mm_sound_mgr_codec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/mm_sound_mgr_codec.c b/server/mm_sound_mgr_codec.c index 6860d42..c1d6a78 100644 --- a/server/mm_sound_mgr_codec.c +++ b/server/mm_sound_mgr_codec.c @@ -79,7 +79,6 @@ ASM_cb_result_t sound_codec_asm_callback(int handle, ASM_event_sources_t event_src, ASM_sound_commands_t command, unsigned int sound_status, void* cb_data) { int slotid = (int)cb_data; - int result = MM_ERROR_NONE; ASM_cb_result_t cb_res = ASM_CB_RES_NONE; debug_log("Got audio session callback msg for session_handle %d\n", handle); @@ -89,7 +88,7 @@ sound_codec_asm_callback(int handle, ASM_event_sources_t event_src, ASM_sound_co case ASM_COMMAND_STOP: case ASM_COMMAND_PAUSE: debug_log("Got msg from asm to Stop or Pause %d\n", command); - result = MMSoundMgrCodecStop(slotid); + MMSoundMgrCodecStop(slotid); cb_res = ASM_CB_RES_STOP; break; case ASM_COMMAND_RESUME: -- 2.7.4