From: Jihoon Jung Date: Wed, 28 Jun 2023 07:55:54 +0000 (+0900) Subject: Fix build error for toolchain upgrade X-Git-Tag: accepted/tizen/unified/20240620.050756 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ac7bd2279c528dd5355f68d3aa48f8e07cdb03e5;p=platform%2Fcore%2Fapi%2Fmulti-device-group.git Fix build error for toolchain upgrade Change-Id: I4c31f0d4ab49691770ef31fca76548b525011273 Signed-off-by: Jihoon Jung --- diff --git a/test/mdg-manager.c b/test/mdg-manager.c old mode 100755 new mode 100644 index 8006911..b78a861 --- a/test/mdg-manager.c +++ b/test/mdg-manager.c @@ -1083,7 +1083,7 @@ static int run_request_eject(MManager *mm, struct menu_data *menu) } int grp_idx = 1; - if (group_idx != NULL && strlen(group_idx)) { + if (strlen(group_idx)) { grp_idx = (unsigned short)strtol(group_idx, NULL, 10); if (0 >= grp_idx) { msgp("Invalid index. set to 1"); @@ -1100,7 +1100,7 @@ static int run_request_eject(MManager *mm, struct menu_data *menu) } int dev_idx = 1; - if (device_idx != NULL && strlen(device_idx)) { + if (strlen(device_idx)) { dev_idx = (unsigned short)strtol(device_idx, NULL, 10); if (0 >= dev_idx) { msgp("Invalid index. set to 1");