Commit 9275def reduced the if block to one line without removing the
braces.

Signed-off-by: Ján Tomko <jto...@redhat.com>
---

I pushed this yesterday as a build fix, but forgot to send an e-mail.

 src/util/virlog.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/util/virlog.c b/src/util/virlog.c
index c03f4fb14..dd927f0ba 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);
-- 
2.13.6

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to