From: Peter Krempa Date: Wed, 30 Sep 2020 13:04:45 +0000 (+0200) Subject: qemuMigrationCookieXMLParse: Remove comment mentioning that error was already set X-Git-Tag: v6.9.0-rc1~346 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c3f86e2901cecca81760ebcb0560e99c3da0cff;p=thirdparty%2Flibvirt.git qemuMigrationCookieXMLParse: Remove comment mentioning that error was already set Most of our functions report errors so there's no need to mention it here again. Signed-off-by: Peter Krempa Reviewed-by: Michal Privoznik --- diff --git a/src/qemu/qemu_migration_cookie.c b/src/qemu/qemu_migration_cookie.c index f901041ee1..f15dd6c4c0 100644 --- a/src/qemu/qemu_migration_cookie.c +++ b/src/qemu/qemu_migration_cookie.c @@ -1307,11 +1307,8 @@ qemuMigrationCookieXMLParse(qemuMigrationCookiePtr mig, VIR_DOMAIN_DEF_PARSE_INACTIVE | VIR_DOMAIN_DEF_PARSE_ABI_UPDATE_MIGRATION | VIR_DOMAIN_DEF_PARSE_SKIP_VALIDATE); - if (!mig->persistent) { - /* virDomainDefParseNode already reported - * an error for us */ + if (!mig->persistent) goto error; - } } if ((flags & QEMU_MIGRATION_COOKIE_NETWORK) &&