
24 Oct
2019
24 Oct
'19
4:35 p.m.
On Thu, Oct 24, 2019 at 03:56:30PM +0200, Peter Krempa wrote:
After the conversion of all callers that would pass true as @dynamic to a different function we can remove the unused argument now.
Additionally modify the return type to 'size_t' as indentation can't be negative and remove checks whether @buf is passed as it's caller's duty to do so.
Signed-off-by: Peter Krempa <pkrempa@redhat.com> --- src/conf/domain_conf.c | 2 +- src/conf/network_conf.c | 2 +- src/util/virbuffer.c | 12 +++--------- src/util/virbuffer.h | 4 ++-- tests/testutilsqemuschema.c | 2 +- tests/virbuftest.c | 12 ++++++------ 6 files changed, 14 insertions(+), 20 deletions(-)
Reviewed-by: Ján Tomko <jtomko@redhat.com> Jano