From: Osier Yang Date: Tue, 21 May 2013 15:02:36 +0000 (+0800) Subject: qemu: Don't remove the "return 0" X-Git-Tag: v1.0.6-rc1~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58f8e0cd58bbdd11735a0eaf50b6c1f2cf52faea;p=thirdparty%2Flibvirt.git qemu: Don't remove the "return 0" Commit f60a50c7957 intended to remove the warning only, but not with the "return 0" together. --- diff --git a/src/qemu/qemu_cgroup.c b/src/qemu/qemu_cgroup.c index ff9a075133..fb88802c71 100644 --- a/src/qemu/qemu_cgroup.c +++ b/src/qemu/qemu_cgroup.c @@ -471,6 +471,8 @@ qemuSetupMemoryCgroup(virDomainObjPtr vm) virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", _("Memory cgroup is not available on this host")); return -1; + } else { + return 0; } }