[PATCH 0/3] virBitmapGetBit cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Return bool instead of ignoring the return value almost everywhere.

Ján Tomko (3):
  Use virBitmapNextClearBit in networkNextClassID
  Return bool in virBitmapGetBit
  Reverse the logic in virbitmaptest

 src/conf/domain_conf.c        |  4 +---
 src/conf/node_device_conf.c   |  4 +---
 src/conf/snapshot_conf.c      |  6 ++----
 src/conf/storage_conf.c       |  4 +---
 src/libxl/libxl_domain.c      |  4 +---
 src/libxl/libxl_driver.c      |  5 +----
 src/network/bridge_driver.c   |  8 +++-----
 src/nodeinfo.c                |  6 +-----
 src/qemu/qemu_capabilities.c  |  8 +++-----
 src/qemu/qemu_command.c       | 12 +-----------
 src/qemu/qemu_driver.c        | 15 +++------------
 src/qemu/qemu_process.c       | 13 ++++---------
 src/storage/storage_backend.c |  4 +---
 src/test/test_driver.c        |  5 +----
 src/util/virbitmap.c          | 13 +++++--------
 src/util/virbitmap.h          |  6 +++---
 src/util/vircgroup.c          |  4 +---
 src/util/virdnsmasq.c         |  7 ++-----
 src/util/virportallocator.c   | 14 ++------------
 src/util/virprocess.c         |  9 ++-------
 src/xen/xen_driver.c          |  4 +---
 src/xen/xend_internal.c       |  5 +----
 tests/virbitmaptest.c         | 18 ++++--------------
 tools/virsh-domain.c          |  6 ++----
 24 files changed, 47 insertions(+), 137 deletions(-)

-- 
2.0.5

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]