Promote usage of separate buffers for separate formatting passes by removing the now unused virBufferSetChildIndent. Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx> --- src/util/virbuffer.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/util/virbuffer.h b/src/util/virbuffer.h index a2e30c07dc..38758a9125 100644 --- a/src/util/virbuffer.h +++ b/src/util/virbuffer.h @@ -88,15 +88,6 @@ void virBufferURIEncodeString(virBufferPtr buf, const char *str); void virBufferAdjustIndent(virBufferPtr buf, int indent); void virBufferSetIndent(virBufferPtr, int indent); -/** - * virBufferSetChildIndent - * - * Gets the parent indentation, increments it by 2 and sets it to - * child buffer. - */ -#define virBufferSetChildIndent(childBuf_, parentBuf_) \ - virBufferSetIndent(childBuf_, virBufferGetIndent(parentBuf_) + 2) - size_t virBufferGetIndent(const virBuffer *buf); size_t virBufferGetEffectiveIndent(const virBuffer *buf); -- 2.23.0 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list