summaryrefslogtreecommitdiff
path: root/tests/virbitmaptest.c
diff options
context:
space:
mode:
authorPeter Krempa <pkrempa@redhat.com>2021-12-06 15:55:46 +0100
committerPeter Krempa <pkrempa@redhat.com>2021-12-10 16:36:24 +0100
commit58fec2cef41f5f247626c5291510593556812190 (patch)
tree58b5b3ecc5c1c8ab9a41cf20674bd232732dec06 /tests/virbitmaptest.c
parentab88ace58d6e68f63cdda212b31da3c1aba9459b (diff)
downloadlibvirt-58fec2cef41f5f247626c5291510593556812190.tar.gz
virBitmapUnion: Remove return value
The function can't fail at this point. Remove the return value. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
Diffstat (limited to 'tests/virbitmaptest.c')
-rw-r--r--tests/virbitmaptest.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/virbitmaptest.c b/tests/virbitmaptest.c
index 1794f73f34..4c525679f6 100644
--- a/tests/virbitmaptest.c
+++ b/tests/virbitmaptest.c
@@ -665,8 +665,7 @@ test15(const void *opaque)
return -1;
}
- if (virBitmapUnion(amap, bmap) < 0)
- return -1;
+ virBitmapUnion(amap, bmap);
if (!virBitmapEqual(amap, resmap)) {
fprintf(stderr,