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:
Peter Krempa
2019-10-24 19:35:34 +02:00
parent 418aa809fd
commit 205d6a2af7
28 changed files with 5 additions and 236 deletions
-2
View File
@@ -763,8 +763,6 @@ virTestLogContentAndReset(void)
{
char *ret;
if (virBufferError(&testLog.buf))
return NULL;
ret = virBufferContentAndReset(&testLog.buf);
if (!ret)
ret = g_strdup("");