From: Sanjay NM Date: Tue, 25 Nov 2014 05:58:32 +0000 (+0530) Subject: Removed unused result variable from sound_codec_asm_callback X-Git-Tag: accepted/tizen/common/20141203.155836~1^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=07424355030624c0c18cb0171bd6851bc776a4b0;p=platform%2Fcore%2Fmultimedia%2Flibmm-sound.git Removed unused result variable from sound_codec_asm_callback Change-Id: Icfde26b3b57c9e81fc37a95f81285a83fe80f4f1 --- 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: