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

Re: [libvirt] [PATCH] conf: Make full use of goto lable



On 21.06.2011 09:13, Osier Yang wrote:
> * virDomainDefParse: There is a goto label "no_memory", which
> reports OOM error, and it then fallthrough lable "error". This
s/lable/label/. And maybe s/it //
> patch changes things like following:
> 
>     virReportOOMError();
>     goto error;
> 
> into:
> 
>     goto no_memory;
> ---
>  src/conf/domain_conf.c |   21 +++++++--------------
>  1 files changed, 7 insertions(+), 14 deletions(-)
ACK.

Michal


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