Fix issue that detected by static analysis tool 70/241270/2
authorSungwook Park <sungwook79.park@samsung.com>
Wed, 19 Aug 2020 02:27:06 +0000 (11:27 +0900)
committersungwook park <sungwook79.park@samsung.com>
Wed, 19 Aug 2020 02:59:17 +0000 (02:59 +0000)
Change-Id: I68e7dc381de3b2815f3cc4754bbfeb9a2f7d8bd7
Signed-off-by: Sungwook Park <sungwook79.park@samsung.com>
server/gestured_dbus.c

index 539a2029159e129a42cdc092abdb86085b52ef08..7c49b3c223cadda827ccc1179659afa30fc66271 100644 (file)
@@ -435,9 +435,6 @@ static void _gestured_client_dbus_method_call_handler(GDBusConnection *conn, con
                }
 #endif
                g_dbus_method_invocation_return_value(invocation, reply_body);
-       } else if (ret == GESTURED_ERROR_SERVICE_NOT_READY) {
-               // for no return because will send the result with async
-               LOGD("method call pass because async function");
        } else {
                LOGE("method_call failed, method_name : %s", method_name);
                g_dbus_method_invocation_return_error(invocation, G_DBUS_ERROR, ret, "gesture error");