From: jkjo92 Date: Wed, 8 Feb 2017 06:00:13 +0000 (+0900) Subject: fix svace issues X-Git-Tag: accepted/tizen/3.0/common/20170208.145508^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6837cab1116e36aee225ea1bbf13a7f976b6056c;p=platform%2Fcore%2Faccount%2Ffido-client.git fix svace issues Change-Id: Ib0b044f34855eb83b4bc7392d132abb462cc01bd Signed-off-by: jkjo92 --- diff --git a/client/fido_uaf_client.c b/client/fido_uaf_client.c index 72471dc..8ed130d 100755 --- a/client/fido_uaf_client.c +++ b/client/fido_uaf_client.c @@ -92,10 +92,6 @@ _fido_uaf_process_operation_reply(GObject *object, GAsyncResult *res, gpointer u } _fido_process_cb_data_s *cb_data = (_fido_process_cb_data_s *)user_data; - if (cb_data == NULL) { - _ERR("Can not proceed since callback data is NULL"); - return; - } if (cb_data->cb == NULL) { _ERR("Can not proceed since callback data's cb part is NULL"); diff --git a/server/fido_selection_ui_adaptor.c b/server/fido_selection_ui_adaptor.c old mode 100644 new mode 100755 index 1a7cc94..a7fc435 --- a/server/fido_selection_ui_adaptor.c +++ b/server/fido_selection_ui_adaptor.c @@ -427,8 +427,7 @@ __get_proc_path_of_dbus_caller(GDBusMethodInvocation *invocation) connection = g_dbus_method_invocation_get_connection(invocation); if (connection == NULL) { - _ERR("Failed to open connection for the invocation [%s]", error->message); - g_error_free(error); + _ERR("Failed to open connection for the invocation"); return NULL; } diff --git a/test/Dummy_ASM_DBUS/dummy_asm_server.c b/test/Dummy_ASM_DBUS/dummy_asm_server.c old mode 100644 new mode 100755 index 183c25f..ad87871 --- a/test/Dummy_ASM_DBUS/dummy_asm_server.c +++ b/test/Dummy_ASM_DBUS/dummy_asm_server.c @@ -102,8 +102,7 @@ __get_proc_path_of_dbus_caller(GDBusMethodInvocation *invocation) connection = g_dbus_method_invocation_get_connection(invocation); if (connection == NULL) { - _ERR("Failed to open connection for the invocation [%s]", error->message); - g_error_free(error); + _ERR("Failed to open connection for the invocation"); return NULL; }