Suppress the warning for unused return value 85/322985/1
authorDongsun Lee <ds73.lee@samsung.com>
Mon, 21 Apr 2025 02:22:48 +0000 (11:22 +0900)
committerDongsun Lee <ds73.lee@samsung.com>
Mon, 21 Apr 2025 02:22:58 +0000 (11:22 +0900)
Change-Id: Ib59937920529769b7a4041a30c90daf891db80f6

tests/test-util.h

index f765715bd4249698d5fdde2a5b97d92e7cca6a10..7f6ca3062c089156112ca27e811517b46325b4e6 100644 (file)
@@ -68,7 +68,7 @@ bool run_in_process(process_type ptype, const std::string& appId, int expected,
                }
 
                if (ptype == SM_PROCESS_TYPE_APP) {
-                       setuid(APP_UID); // Do not check the return code
+                       ret = setuid(APP_UID); // Do not check the return code
                }
 
                ret = functor();