The return value can help caller check whether error happens,
and it does not need to have *errp since the return value already tips
what happend.
Signed-off-by: Wenchao Xia
---
block/qcow2-refcount.c |8 +---
block/qcow2.h |6 +++---
2 files changed, 8 insertions(+), 6 dele
On 05.01.2014 20:43, Wenchao Xia wrote:
The return value can help caller check whether error happens,
and it does not need to have *errp since the return value already tips
what happend.
Signed-off-by: Wenchao Xia
---
block/qcow2-refcount.c |8 +---
block/qcow2.h |6 +++-
δΊ 2014/1/12 7:59, Max Reitz ει:
On 05.01.2014 20:43, Wenchao Xia wrote:
The return value can help caller check whether error happens,
and it does not need to have *errp since the return value already tips
what happend.
Signed-off-by: Wenchao Xia
---
block/qcow2-refcount.c |8 +---
b