On 11/14/19 6:20 AM, Christian Ehrhardt wrote:
> It was mentioned that the pointers in loops like:
>   for (i = 0; i < ctl->def->nserials; i++)
>       if (ctl->def->serials[i] ...
> will always be !NULL or we would have a much more serious problem.
> 
> Simplify the if chains in get_files by dropping these checks.
> 
> Signed-off-by: Christian Ehrhardt <christian.ehrha...@canonical.com>
> ---
>  src/security/virt-aa-helper.c | 135 ++++++++++++++++------------------
>  1 file changed, 63 insertions(+), 72 deletions(-)
> 

Reviewed-by: Cole Robinson <crobi...@redhat.com>

- Cole

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to