libvirt/src/vmx
Peter Krempa 3b5eab6e25 virIndexToDiskName: Make 'idx' unsigned and remove check
We can remove the check that 'idx' is negative by forcing callers to
pass unsigned numbers, which they do already or have a check that 'idx'
is positive.

This in turn allows us to remove most return value NULL checks.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2021-03-05 15:33:34 +01:00
..
meson.build meson: src: build libvirt.so library 2020-08-03 09:27:04 +02:00
vmx.c virIndexToDiskName: Make 'idx' unsigned and remove check 2021-03-05 15:33:34 +01:00
vmx.h vmx: Allow missing cdrom image file in virVMXParseFileName 2021-01-06 02:05:10 +01:00