]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Umark virBufferCheckErrorInternal as ATTRIBUTE_RETURN_CHECK
authorMartin Kletzander <mkletzan@redhat.com>
Wed, 16 Aug 2017 09:09:47 +0000 (11:09 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 29 Aug 2017 09:17:16 +0000 (11:17 +0200)
commit7addfa195b9075d62b6449b429c8d009386c2ba9
treee5cd745088d2f50bfdd592ba16b347beea168b34
parent0ceec53fc4e35deaafa97a3b11943a6ecc4a3cb4
util: Umark virBufferCheckErrorInternal as ATTRIBUTE_RETURN_CHECK

The function is useful even without using the return value.  And if
needed, the return value can be obtained by other calls as well.  The
potential for clean-up can be seen in the following patch.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/util/virbuffer.h