The URI function uri_string_unescape() has some overlap with functions from the glib, so we can simplify our code here quite a bit. While at it, I also noticed that there are many unused functions in here which we likely can drop nowadays (it's better to use the functions from glib anyway).
Thomas Huth (5): util/uri: Remove the unused "target" argument from uri_string_unescape() util/uri: Simplify uri_string_unescape() util/uri: Remove the uri_string_escape() function util/uri: Remove unused functions uri_resolve() and uri_resolve_relative() util/uri: Remove unused macros ISA_RESERVED() and ISA_GEN_DELIM() include/qemu/uri.h | 5 +- util/uri.c | 843 +-------------------------------------------- 2 files changed, 16 insertions(+), 832 deletions(-) -- 2.43.0