Change-Id: I14b4a13351913a12c42e4794cc40ff29cc2f7a07
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
static int __ms_find_owner(int pid, const char *req_path, ms_req_owner_data **owner_data)
{
int i;
- int len = owner_list->len;
+ int len;
ms_req_owner_data *data = NULL;
*owner_data = NULL;
if (owner_list != NULL) {
- MS_DBG("length list : %d", len);
-
len = owner_list->len;
+ MS_DBG("length list : %d", len);
for (i = 0; i < len; i++) {
data = g_array_index(owner_list, ms_req_owner_data*, i);