Markus Armbruster <arm...@redhat.com> wrote: > qemu_rdma_data_init() neglects to set an Error when it fails because > @host_port is null. Fortunately, no caller passes null, so this is > merely a latent bug. Drop the flawed code handling null argument. > > Signed-off-by: Markus Armbruster <arm...@redhat.com>
Reviewed-by: Juan Quintela <quint...@redhat.com> As your discussion with Peter, I think that this is ok. The only other thing we could do is add an assert(), but I am not a big fan either.