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

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

 



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

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


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]