From: Uri Simchoni Date: Thu, 9 Mar 2017 12:40:54 +0000 (+0200) Subject: talloc: fix doxygen of talloc_move X-Git-Tag: tdb-1.3.13~594 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2772fa4fbff968106897ec02669d017b9e47979d;p=thirdparty%2Fsamba.git 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 --- 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