Removed unused result variable from sound_codec_asm_callback 58/30758/1
authorSanjay NM <sanjay.nm@samsung.com>
Tue, 25 Nov 2014 05:58:32 +0000 (11:28 +0530)
committerSanjay NM <sanjay.nm@samsung.com>
Tue, 25 Nov 2014 05:58:32 +0000 (11:28 +0530)
Change-Id: Icfde26b3b57c9e81fc37a95f81285a83fe80f4f1

server/mm_sound_mgr_codec.c

index 6860d42..c1d6a78 100644 (file)
@@ -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: