Fix build warning
authorIlho Kim <ilho159.kim@samsung.com>
Thu, 9 Sep 2021 02:43:53 +0000 (11:43 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Fri, 10 Sep 2021 01:30:43 +0000 (10:30 +0900)
path variable can be free
It occurs "discards 'const' qualifier from pointer target type"

Change-Id: I9ae4974ef8777a5674ab63f18fa69200a28b699b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
client/include/package-manager.h

index f7a8824390e176aa3cf565d6147ae0df931b5189..44de28f6ee4c334b60b1c89e60dad5618868e152 100644 (file)
@@ -197,7 +197,7 @@ typedef struct _pkgmgr_res_event_info_t {
 } pkgmgr_res_event_info_t;
 
 typedef struct _res_event_path_state_t {
-       const char *path;
+       char *path;
        pkgmgr_res_event_path_state state;
 } res_event_path_state_t;