Fix build warnings 43/65243/1 accepted/tizen/common/20160408.185600 accepted/tizen/ivi/20160408.105601 accepted/tizen/mobile/20160408.105459 accepted/tizen/tv/20160408.105518 accepted/tizen/wearable/20160408.105535 submit/tizen/20160408.071310
authorWootak Jung <wootak.jung@samsung.com>
Fri, 8 Apr 2016 05:29:30 +0000 (14:29 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Fri, 8 Apr 2016 05:29:30 +0000 (14:29 +0900)
Change-Id: Ie5de574c5eee8b5e231d80adeafdef35963ad09e

callmgr-popup/src/callmgr-popup-widget.c
common/src/callmgr-util.c
module/src/callmgr-audio.c
module/src/callmgr-vr.c
packaging/call-manager.spec

index ec7cd28..d285cc8 100755 (executable)
@@ -63,7 +63,7 @@ Evas_Object *_callmgr_popup_create_win(void)
        Evas *e;
        const char *str = "mobile";
 
-       int     w, h;
+       //int   w, h;
 
        eo = elm_win_add(NULL, PACKAGE, ELM_WIN_DIALOG_BASIC);
        e = evas_object_evas_get(eo);
@@ -75,7 +75,7 @@ Evas_Object *_callmgr_popup_create_win(void)
        }
 
        if (eo) {
-               elm_win_profile_set(eo, &str);  /* Desktop mode only */
+               elm_win_profile_set(eo, str);   /* Desktop mode only */
                elm_win_title_set(eo, PACKAGE);
                elm_win_alpha_set(eo, EINA_TRUE);
                elm_win_raise(eo);
@@ -112,7 +112,7 @@ Evas_Object *_callmgr_popup_create_win(void)
 
 static void __callmgr_popup_set_win_level(Evas_Object *parent, int bwin_noti)
 {
-       Ecore_X_Window xwin;
+       //Ecore_X_Window xwin;
        DBG("..");
        //Ecore_X_Atom qp_scroll_state = ecore_x_atom_get("_E_MOVE_PANEL_SCROLLABLE_STATE");;   /* Quick panel scrollable state */
 
index e9467e1..35179aa 100755 (executable)
@@ -806,7 +806,7 @@ int _callmgr_util_check_disturbing_setting(gboolean *is_do_not_disturb)
 {
        notification_system_setting_h system_setting = NULL;
        notification_setting_h setting = NULL;
-       bool do_not_disturb = false;
+       gboolean do_not_disturb = false;
        bool do_not_disturb_except = false;
        int err = NOTIFICATION_ERROR_NONE;
        int ret = 0;
@@ -818,7 +818,7 @@ int _callmgr_util_check_disturbing_setting(gboolean *is_do_not_disturb)
                        err("notification_system_setting_load_system_setting failed [%d]\n", err);
                        goto out;
                }
-               notification_system_setting_get_do_not_disturb(system_setting, &do_not_disturb);
+               notification_system_setting_get_do_not_disturb(system_setting, (bool *)&do_not_disturb);
        }
 
        info("do_not_disturb [%d]", do_not_disturb);
index 73bd4fa..7b6a578 100755 (executable)
@@ -311,7 +311,6 @@ static int __callmgr_audio_get_sound_device(sound_device_type_e device_type, sou
        sound_device_h  device = NULL;
        sound_device_type_e o_device_type;
        int ret = -1;
-       int index = 0;
 
        ret = sound_manager_get_current_device_list (SOUND_DEVICE_ALL_MASK, &device_list);
        if (ret != SOUND_MANAGER_ERROR_NONE) {
@@ -640,7 +639,6 @@ int _callmgr_audio_get_audio_route(callmgr_audio_handle_h audio_handle, callmgr_
 
 int _callmgr_audio_set_extra_vol(callmgr_audio_handle_h audio_handle, gboolean is_extra_vol)
 {
-       callmgr_audio_device_e cur_route = CALLMGR_AUDIO_DEVICE_RECEIVER_E;
        CM_RETURN_VAL_IF_FAIL(audio_handle, -1);
 
        audio_handle->is_extra_vol = is_extra_vol;
@@ -686,7 +684,6 @@ int _callmgr_audio_get_audio_tx_mute_state(callmgr_audio_handle_h audio_handle,
 
 int _callmgr_audio_set_noise_reduction(callmgr_audio_handle_h audio_handle, gboolean is_noise_reduction_on)
 {
-       callmgr_audio_device_e cur_route = CALLMGR_AUDIO_DEVICE_RECEIVER_E;
        CM_RETURN_VAL_IF_FAIL(audio_handle, -1);
        audio_handle->is_noise_reduction = is_noise_reduction_on;
        dbg("updated noise reduction : %d", audio_handle->is_noise_reduction);
@@ -743,7 +740,6 @@ int _callmgr_audio_get_current_volume(callmgr_audio_handle_h audio_handle, int *
 
 int _callmgr_audio_get_session_mode(callmgr_audio_handle_h audio_handle, callmgr_audio_session_mode_e *o_session_mode)
 {
-       int ret = -1;
        info(">>");
        CM_RETURN_VAL_IF_FAIL(audio_handle, -1);
        CM_RETURN_VAL_IF_FAIL(o_session_mode, -1);
index c2e3d65..a5d1de7 100755 (executable)
@@ -1206,7 +1206,7 @@ int _callmgr_vr_stop_record(callmgr_vr_handle_h vr_handle)
 
 static int __callmgr_vr_fex_get_available_memory_space(callmgr_vr_store_type_e store_type)
 {
-       char *path = NULL;
+       const char *path = NULL;
        int available_kilobytes = 0;
        int result;
 
index cf14de1..caaf3ea 100755 (executable)
@@ -1,6 +1,6 @@
 %define major 0
 %define minor 1
-%define patchlevel 54
+%define patchlevel 55
 %define ext_feature 0
 
 Name:           call-manager