From: Jiri Denemark Date: Mon, 27 May 2013 08:19:36 +0000 (+0200) Subject: qemu: Fix build without gnutls X-Git-Tag: v1.0.6-rc1^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6f2523fb168e39232039766aa0287b5fbb77b5f;p=thirdparty%2Flibvirt.git qemu: Fix build without gnutls "error" label in qemuMigrationCookieGraphicsAlloc is now used unconditionally thanks to VIR_STRDUP. --- diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c index 73ced73c18..19b1236bf7 100644 --- a/src/qemu/qemu_migration.c +++ b/src/qemu/qemu_migration.c @@ -324,9 +324,7 @@ qemuMigrationCookieGraphicsAlloc(virQEMUDriverPtr driver, no_memory: virReportOOMError(); -#ifdef WITH_GNUTLS error: -#endif qemuMigrationCookieGraphicsFree(mig); virObjectUnref(cfg); return NULL;