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

Re: [libvirt] [PATCH v2 07/21] conf: Improve virDomainChrTargetDefFormat()



On Tue, Nov 21, 2017 at 05:42:17PM +0100, Andrea Bolognani wrote:
> Make the switch statement type-aware, avoid calling
> virDomainChrTargetTypeToString() more than once and check its
> return value before using it.
> 
> Signed-off-by: Andrea Bolognani <abologna redhat com>
> ---
>  src/conf/domain_conf.c | 29 ++++++++++++++++++++++-------
>  1 file changed, 22 insertions(+), 7 deletions(-)

Reviewed-by: Pavel Hrdina <phrdina redhat com>

Attachment: signature.asc
Description: PGP signature


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