From 2772fa4fbff968106897ec02669d017b9e47979d Mon Sep 17 00:00:00 2001 From: Uri Simchoni Date: Thu, 9 Mar 2017 14:40:54 +0200 Subject: [PATCH] talloc: fix doxygen of talloc_move talloc_move cannot fail. Signed-off-by: Uri Simchoni Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Fri Mar 10 07:30:40 CET 2017 on sn-devel-144 --- lib/talloc/talloc.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/talloc/talloc.h b/lib/talloc/talloc.h index 227f745fab1..618430a50ab 100644 --- a/lib/talloc/talloc.h +++ b/lib/talloc/talloc.h @@ -407,10 +407,11 @@ const char *talloc_set_name(const void *ptr, const char *fmt, ...) PRINTF_ATTRIB * * @param[in] new_ctx The new parent context. * - * @param[in] pptr Pointer to the talloc chunk to move. + * @param[in] pptr Pointer to a pointer to the talloc chunk to move. + * + * @return The pointer to the talloc chunk that moved. + * It does not have any failure modes. * - * @return The pointer of the talloc chunk it has been moved to, - * NULL on error. */ void *talloc_move(const void *new_ctx, void **pptr); #else