From 85fe075e67c5ce135bbc009dc34fe1c0c72e8304 Mon Sep 17 00:00:00 2001 From: henrypp Date: Fri, 23 Apr 2021 02:14:52 +0600 Subject: [PATCH] cosmetics --- src/profile.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/profile.c b/src/profile.c index da4678a9..4a5cfe35 100644 --- a/src/profile.c +++ b/src/profile.c @@ -1718,7 +1718,6 @@ VOID _app_profile_load_helper (_Inout_ PR_XML_LIBRARY xml_library, _In_ ENUM_TYP _r_str_replacechar (string->buffer, DIVIDER_RULE[0], DIVIDER_APP[0]); // for compat with old profiles R_STRINGREF remaining_part; - PR_STRING expanded_path; SIZE_T app_hash; _r_obj_initializestringref2 (&remaining_part, string); @@ -1729,7 +1728,7 @@ VOID _app_profile_load_helper (_Inout_ PR_XML_LIBRARY xml_library, _In_ ENUM_TYP if (path_string) { - expanded_path = _r_str_expandenvironmentstring (path_string->buffer); + PR_STRING expanded_path = _r_str_expandenvironmentstring (path_string->buffer); if (expanded_path) _r_obj_movereference (&path_string, expanded_path);