mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
virBitmapNew: Don't force return value check
We now always return a valid pointer or crash so the return value doesn't need to be checked. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
bbeab0479c
commit
5ea7e8b383
@ -33,7 +33,7 @@ typedef virBitmap *virBitmapPtr;
|
||||
* Allocate a bitmap capable of containing @size bits.
|
||||
*/
|
||||
virBitmapPtr virBitmapNewQuiet(size_t size) G_GNUC_WARN_UNUSED_RESULT;
|
||||
virBitmapPtr virBitmapNew(size_t size) G_GNUC_WARN_UNUSED_RESULT;
|
||||
virBitmapPtr virBitmapNew(size_t size);
|
||||
virBitmapPtr virBitmapNewEmpty(void) G_GNUC_WARN_UNUSED_RESULT;
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user