virLogGetOutputs: remove unnecessary braces

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

Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Ján Tomko 2018-02-21 18:33:25 +01:00
parent 67966ad518
commit 04bcc4d9ab

View File

@ -1219,9 +1219,8 @@ virLogGetOutputs(void)
}
}
if (virBufferError(&outputbuf)) {
if (virBufferError(&outputbuf))
goto error;
}
virLogUnlock();
return virBufferContentAndReset(&outputbuf);