mirror of https://gitee.com/openkylin/libvirt.git
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:
parent
67966ad518
commit
04bcc4d9ab
|
@ -1219,9 +1219,8 @@ virLogGetOutputs(void)
|
|||
}
|
||||
}
|
||||
|
||||
if (virBufferError(&outputbuf)) {
|
||||
if (virBufferError(&outputbuf))
|
||||
goto error;
|
||||
}
|
||||
|
||||
virLogUnlock();
|
||||
return virBufferContentAndReset(&outputbuf);
|
||||
|
|
Loading…
Reference in New Issue