On Wed, Nov 13, 2019 at 16:48:48 +0100, Ján Tomko wrote: > Using GRegex simplifies the code since g_match_info_fetch will > copy the matched substring for us. > > Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx> > --- > src/storage/storage_backend_logical.c | 49 +++++++-------------------- > 1 file changed, 13 insertions(+), 36 deletions(-) I'm getting a build failure with this patch: ../../src/storage/storage_backend_logical.c:128:11: error: variable 'p' set but not used [-Werror=unused-but-set-variable] 128 | char *p = NULL; -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list