From 0884a3cbc7196801795606b9a910f8ca914b7cc7 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 f7a8824..44de28f 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.34.1