1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-10-22 19:34:08 +03:00

lib: Replace VIR_AUTOSTRINGLIST with GStrv

Glib provides g_auto(GStrv) which is in-place replacement of our
VIR_AUTOSTRINGLIST.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Michal Privoznik
2020-12-01 09:21:32 +01:00
parent b46ec55d53
commit b7d4e6b67e
46 changed files with 116 additions and 116 deletions

View File

@@ -56,7 +56,7 @@ static int
testFWPrecedence(const void *opaque G_GNUC_UNUSED)
{
g_autofree char *fakehome = NULL;
VIR_AUTOSTRINGLIST fwList = NULL;
g_auto(GStrv) fwList = NULL;
size_t nfwList;
size_t i;
const char *expected[] = {