On Tue, 2019-02-12 at 17:40 +0100, Ján Tomko wrote:
Instead of repetitive:
s ? s : ""
use NULLSTR_EMPTY.
Signed-off-by: Ján Tomko <jtomko(a)redhat.com>
---
src/datatypes.c | 2 +-
src/libvirt-admin.c | 2 +-
src/libvirt.c | 2 +-
src/lxc/lxc_controller.c | 2 +-
src/qemu/qemu_command.c | 8 +++-----
src/qemu/qemu_interface.c | 2 +-
src/qemu/qemu_migration_params.c | 2 +-
src/qemu/qemu_monitor_json.c | 2 +-
src/qemu/qemu_process.c | 4 ++--
src/util/vircgroupv1.c | 2 +-
src/util/vircgroupv2.c | 2 +-
src/util/virnetdevvportprofile.c | 4 ++--
src/util/virnuma.c | 4 ++--
src/util/virstoragefile.c | 2 +-
src/util/virsystemd.c | 4 ++--
src/util/viruri.c | 2 +-
src/xenconfig/xen_sxpr.c | 18 ++++++------------
tools/virsh-domain-monitor.c | 2 +-
tools/virsh-domain.c | 2 +-
tools/virt-admin.c | 4 ++--
20 files changed, 32 insertions(+), 40 deletions(-)
Reviewed-by: Andrea Bolognani <abologna(a)redhat.com>
--
Andrea Bolognani / Red Hat / Virtualization