From f80c6686f380f3a7057b7521d3f580984488276a Mon Sep 17 00:00:00 2001 From: Ilho Kim Date: Thu, 9 Sep 2021 11:43:53 +0900 Subject: [PATCH] Fix build warning path variable can be free It occurs "discards 'const' qualifier from pointer target type" Change-Id: I9ae4974ef8777a5674ab63f18fa69200a28b699b Signed-off-by: Ilho Kim --- client/include/package-manager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/include/package-manager.h b/client/include/package-manager.h index 84e476a..7167d98 100644 --- a/client/include/package-manager.h +++ b/client/include/package-manager.h @@ -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; -- 2.7.4