Re: [PATCH 5/6] Use NULLSTR_EMPTY

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

 



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@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxx>

-- 
Andrea Bolognani / Red Hat / Virtualization


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

  Powered by Linux