dump: Turn some functions to void to make code cleaner

Functions shouldn't return an error code and an Error object at the same time.
Turn all these functions that returning Error object to void.
We also judge if a function success or fail by reference to the local_err.

Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
zhanghailiang
2014-10-23 09:01:29 -04:00
committed by Luiz Capitulino
parent 37917da2d0
commit 4c7e251ae6
+142 -170
View File
File diff suppressed because it is too large Load Diff