[client,common] fix rdp parser

freerdp_client_file_string_reset used a return type but did not return
any value.
This commit is contained in:
akallabeth
2025-03-18 17:32:22 +01:00
parent f2a010fd2b
commit 14b2dc08eb

View File

@@ -1063,8 +1063,9 @@ BOOL freerdp_client_parse_rdp_file_ex(rdpFile* file, const char* name, rdp_file_
return status;
}
static INLINE BOOL freerdp_client_file_string_reset(char** target)
static INLINE void freerdp_client_file_string_reset(char** target)
{
WINPR_ASSERT(target);
freerdp_client_file_string_check_free(*target);
*target = (void*)~((size_t)NULL);
}