mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-13 06:34:42 -05:00
util: buffer: Remove virBufferError
The function now does not return an error so we can drop it fully. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
@@ -763,8 +763,6 @@ virTestLogContentAndReset(void)
|
||||
{
|
||||
char *ret;
|
||||
|
||||
if (virBufferError(&testLog.buf))
|
||||
return NULL;
|
||||
ret = virBufferContentAndReset(&testLog.buf);
|
||||
if (!ret)
|
||||
ret = g_strdup("");
|
||||
|
||||
Reference in New Issue
Block a user