X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fs_call.c;h=b14c6503228bacb8cda9a8e33d1c6da5efc3ffd1;hb=f622fb7607c903b39850e5e9e6c40afc1d96e1b6;hp=fdcebf2533e4ce185fc360aec6bfef415903f382;hpb=3d348d25a54c620bf377763938c72c5488320733;p=profile%2Fivi%2Ftel-plugin-imc.git diff --git a/src/s_call.c b/src/s_call.c index fdcebf2..b14c650 100755 --- a/src/s_call.c +++ b/src/s_call.c @@ -342,8 +342,7 @@ static enum tcore_call_type call_type(int type) static int _compare_call_end_cause(int networkcause) { - dbg("Entry"); - unsigned int count; + unsigned int count; for (count = 0; count < sizeof(call_end_cause_table)/sizeof(call_end_cause_info); count++){ if (call_end_cause_table[count].network_cause == networkcause) return (call_end_cause_table[count].tapi_cause); @@ -1667,9 +1666,8 @@ static void on_confirmation_call_set_source_sound_volume_level(TcorePending *p, struct tresp_call_sound_set_volume_level resp; int error; - dbg("Entry"); - ur = tcore_pending_ref_user_request(p); + dbg("Entry"); // +XDRV: ,,[,] if (!response) { err("Input data is NULL"); @@ -3014,10 +3012,10 @@ static TReturn s_call_set_sound_volume_level(CoreObject *o, UserRequest *ur) TcoreATRequest *dest_req = NULL; char *cmd_str = NULL, *volume_level = NULL; gboolean ret = FALSE; - dbg("Entry"); struct treq_call_sound_set_volume_level* data = NULL; data = (struct treq_call_sound_set_volume_level*)tcore_user_request_ref_data( ur, 0 ); + dbg("Entry"); // Hard-coded values for MIC & Speakers // Source volume dbg("Set Source volume");