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:
@@ -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[] = {
|
||||
|
Reference in New Issue
Block a user