diff options
author | zhanghailiang <zhang.zhanghailiang@huawei.com> | 2014-10-09 14:13:11 +0800 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2014-10-23 09:01:29 -0400 |
commit | 4c7e251ae6d9c328850d62d8aeafa14ca600c858 (patch) | |
tree | 3c30bce117cfef8bd63a95b93371572dc0ddc8fa /tests | |
parent | 37917da2d071ab5273703f5169b0b2fefd40cbb5 (diff) |
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>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions