From: Ján Tomko Date: Wed, 21 Feb 2018 17:33:25 +0000 (+0100) Subject: virLogGetOutputs: remove unnecessary braces X-Git-Tag: v4.1.0-rc1~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04bcc4d9ab848ec7aaa7c9f5fe7a64006b7a0d52;p=thirdparty%2Flibvirt.git virLogGetOutputs: remove unnecessary braces Commit 9275def reduced the if block to one line without removing the braces. Signed-off-by: Ján Tomko --- diff --git a/src/util/virlog.c b/src/util/virlog.c index c03f4fb14e..dd927f0ba7 100644 --- a/src/util/virlog.c +++ b/src/util/virlog.c @@ -1219,9 +1219,8 @@ virLogGetOutputs(void) } } - if (virBufferError(&outputbuf)) { + if (virBufferError(&outputbuf)) goto error; - } virLogUnlock(); return virBufferContentAndReset(&outputbuf);