]> git.proxmox.com Git - mirror_qemu.git/commit - dump.c
dump: Turn some functions to void to make code cleaner
authorzhanghailiang <zhang.zhanghailiang@huawei.com>
Thu, 9 Oct 2014 06:13:11 +0000 (14:13 +0800)
committerLuiz Capitulino <lcapitulino@redhat.com>
Thu, 23 Oct 2014 13:01:29 +0000 (09:01 -0400)
commit4c7e251ae6d9c328850d62d8aeafa14ca600c858
tree3c30bce117cfef8bd63a95b93371572dc0ddc8fa
parent37917da2d071ab5273703f5169b0b2fefd40cbb5
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>
dump.c