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

Re: [libvirt] [Patch]Fix bugs of Sheepdog storage driver



On Fri, Feb 8, 2013 at 1:57 PM, Osier Yang <jyang redhat com> wrote:
[...]
> That's why I said in previous replyment "initialize ret", I mean
> this (see the top of the function):
>
>     int ret = -1;
>
> And with setting "ret" to 0 before cleanup:
>
>     ret = 0;
> cleanup:
>     virCommandFree(cmd);
>     return ret;
>

Okay, it looks well for me. I will give another patch. Thanks for
your help ;-)

-- 
Thanks
Harry Wei


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