]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Avoid using !STREQ and !STRNEQ
authorIshmanpreet Kaur Khera <khera.ishman@gmail.com>
Tue, 20 Oct 2015 16:15:12 +0000 (21:45 +0530)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 21 Oct 2015 13:03:35 +0000 (15:03 +0200)
commit32cee5b2f019afc735187137784657835d39f755
treedc1a02fdd92150f6de81fbeb351f6d83ce874e94
parent1b4de77e852e37c157ad241f9b4ece9a271a43cc
Avoid using !STREQ and !STRNEQ

We have macros for both positive and negative string matching.
Therefore there is no need to use !STREQ or !STRNEQ. At the same
time as we are dropping this, new syntax-check rule is
introduced to make sure we won't introduce it again.

Signed-off-by: Ishmanpreet Kaur Khera <khera.ishman@gmail.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
29 files changed:
cfg.mk
src/bhyve/bhyve_driver.c
src/conf/network_conf.c
src/conf/nwfilter_conf.c
src/conf/nwfilter_params.c
src/conf/storage_conf.c
src/lxc/lxc_fuse.c
src/openvz/openvz_driver.c
src/qemu/qemu_command.c
src/qemu/qemu_domain.c
src/qemu/qemu_hotplug.c
src/security/security_manager.c
src/security/security_selinux.c
src/storage/storage_backend_logical.c
src/util/virfile.c
src/util/virsystemd.c
src/vz/vz_driver.c
src/vz/vz_sdk.c
src/xen/xend_internal.c
src/xenconfig/xen_sxpr.c
tests/commandtest.c
tests/securityselinuxlabeltest.c
tests/virauthconfigtest.c
tests/virbitmaptest.c
tests/vircgrouptest.c
tests/virkeyfiletest.c
tests/virnetsockettest.c
tests/virtypedparamtest.c
tests/viruritest.c