[PATCH 0/6] syntax check: catch mismatched {} in if-else

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

 



After complaining about it in a recent review, I decided to
automate things.

Eric Blake (6):
  maint: use consistent if-else braces in conf and friends
  maint: use consistent if-else braces in qemu
  maint: use consistent if-else braces in xen and friends
  maint: use consistent if-else braces in lxc, vbox, phyp
  maint: use consistent if-else braces in remaining spots
  maint: enforce previous if-else {} cleanups

 cfg.mk                                    |  7 ++++
 daemon/stream.c                           |  6 ++--
 src/conf/domain_conf.c                    | 30 ++++++++---------
 src/conf/interface_conf.c                 | 56 ++++++++++++++++---------------
 src/conf/node_device_conf.c               |  4 +--
 src/conf/nwfilter_conf.c                  | 27 ++++++++++-----
 src/conf/secret_conf.c                    | 12 +++----
 src/cpu/cpu_x86.c                         | 18 +++++-----
 src/esx/esx_vi_types.c                    |  6 ++--
 src/libxl/libxl_conf.c                    | 12 +++----
 src/lxc/lxc_driver.c                      | 24 ++++++-------
 src/lxc/lxc_fuse.c                        | 34 ++++++++++---------
 src/network/bridge_driver.c               |  8 ++---
 src/node_device/node_device_hal.c         |  3 +-
 src/nwfilter/nwfilter_ebiptables_driver.c |  4 +--
 src/nwfilter/nwfilter_gentech_driver.c    |  5 +--
 src/phyp/phyp_driver.c                    | 45 ++++++++++++++-----------
 src/qemu/qemu_capabilities.c              |  6 ++--
 src/qemu/qemu_command.c                   | 56 +++++++++++++++++--------------
 src/qemu/qemu_driver.c                    | 36 ++++++++++----------
 src/qemu/qemu_hotplug.c                   |  9 ++---
 src/qemu/qemu_monitor_text.c              | 30 ++++++-----------
 src/qemu/qemu_process.c                   |  3 +-
 src/remote/remote_driver.c                | 14 ++++----
 src/rpc/virnetsocket.c                    | 18 +++++-----
 src/security/virt-aa-helper.c             | 14 ++++----
 src/storage/storage_backend_disk.c        |  4 +--
 src/uml/uml_driver.c                      |  4 +--
 src/util/viralloc.c                       |  6 ++--
 src/util/virbuffer.c                      |  6 ++--
 src/util/virdbus.c                        |  4 +--
 src/util/virnetdev.c                      |  4 +--
 src/util/virnetdevvportprofile.c          |  3 +-
 src/util/virpci.c                         | 10 +++---
 src/util/virsocketaddr.c                  |  8 ++---
 src/util/viruri.c                         | 38 ++++++++++-----------
 src/vbox/vbox_common.c                    | 12 +++----
 src/vbox/vbox_tmpl.c                      |  3 +-
 src/xen/xen_hypervisor.c                  | 18 +++++-----
 src/xen/xend_internal.c                   | 20 +++++------
 src/xenapi/xenapi_driver.c                | 13 ++++---
 src/xenconfig/xen_common.c                |  8 ++---
 src/xenconfig/xen_sxpr.c                  | 18 +++++-----
 tests/cputest.c                           |  6 ++--
 tests/testutils.c                         |  4 +--
 tools/virsh-domain.c                      |  8 ++---
 tools/virsh-host.c                        |  8 ++---
 47 files changed, 351 insertions(+), 341 deletions(-)

-- 
1.9.3

--
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]