]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Require spaces around equality comparisons
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 17 Mar 2014 09:38:38 +0000 (10:38 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 18 Mar 2014 10:29:44 +0000 (11:29 +0100)
commitcc9c62fef97fc989ad01fcfdd0759450fa8f442b
treed99579281c0cbceddf819ed936392640d73138ef
parent123a881d97b9126544a00d7d74cf1cf29bc96e07
Require spaces around equality comparisons

Commit a1cbe4b5 added a check for spaces around assignments and this
patch extends it to checks for spaces around '=='.  One exception is
virAssertCmpInt where comma after '==' is acceptable (since it is a
macro and '==' is its argument).

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
55 files changed:
build-aux/bracket-spacing.pl
src/libvirt.c
src/locking/lock_driver_sanlock.c
src/qemu/qemu_command.c
src/rpc/virnetclient.c
src/util/vircgroup.c
src/util/virthreadpool.c
src/vbox/vbox_tmpl.c
src/xenapi/xenapi_driver.c
tests/commandtest.c
tests/domainsnapshotxml2xmltest.c
tests/interfacexml2xmltest.c
tests/libvirtdconftest.c
tests/lxcxml2xmltest.c
tests/networkxml2conftest.c
tests/networkxml2xmltest.c
tests/nodedevxml2xmltest.c
tests/nodeinfotest.c
tests/nwfilterxml2xmltest.c
tests/qemuargv2xmltest.c
tests/qemuxml2argvtest.c
tests/qemuxml2xmltest.c
tests/qemuxmlnstest.c
tests/sexpr2xmltest.c
tests/sockettest.c
tests/statstest.c
tests/storagepoolxml2xmltest.c
tests/storagevolxml2argvtest.c
tests/storagevolxml2xmltest.c
tests/virauthconfigtest.c
tests/virbuftest.c
tests/vircgrouptest.c
tests/virdbustest.c
tests/virdrivermoduletest.c
tests/virhostdevtest.c
tests/viridentitytest.c
tests/virkeyfiletest.c
tests/virkmodtest.c
tests/virlockspacetest.c
tests/virnetmessagetest.c
tests/virnetsockettest.c
tests/virnettlscontexttest.c
tests/virnettlssessiontest.c
tests/virpcitest.c
tests/virportallocatortest.c
tests/virshtest.c
tests/virstringtest.c
tests/virsystemdtest.c
tests/virtimetest.c
tests/viruritest.c
tests/xencapstest.c
tests/xmconfigtest.c
tests/xml2sexprtest.c
tools/virsh-domain-monitor.c
tools/virsh-pool.c