On 04/04/2014 03:50 PM, Michal Privoznik wrote:
> Currently, the virsh code is plenty of the following pattern:
>
> if (vshCommandOptUInt(..) < 0) {
> vshError(...);
> goto cleanup;
> }
>
> It doesn't make much sense to repeat the code everywhere.
> Moreover, some functions from t
Currently, the virsh code is plenty of the following pattern:
if (vshCommandOptUInt(..) < 0) {
vshError(...);
goto cleanup;
}
It doesn't make much sense to repeat the code everywhere.
Moreover, some functions from the family already report
error some of them don't.
Signed-off-by: