Signed-off-by: seungha.son <seungha.son@samsung.com>
Change-Id: I9a5c518caf4077b44fc09a2bee6c04dfce6ec33a
{
int ret = _dbus_init();
+ if (request_cb == NULL)
+ return SHORTCUT_ERROR_INVALID_PARAMETER; /* LCOV_EXCL_LINE */
+
if (ret != SHORTCUT_ERROR_NONE) {
/* LCOV_EXCL_START */
ErrPrint("Can't init dbus %d", ret);
/* LCOV_EXCL_STOP */
}
- if (request_cb == NULL)
- return SHORTCUT_ERROR_INVALID_PARAMETER; /* LCOV_EXCL_LINE */
-
if (provider_monitor_id == 0) {
provider_monitor_id = g_bus_watch_name_on_connection(
_gdbus_conn,