From: Arran Cudbard-Bell Date: Mon, 25 Jan 2021 22:17:38 +0000 (+0000) Subject: Can't warn about unused results when there's no result X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c87ae2b5c31986ac2df1f5dfaa2eb1b70f3c651;p=thirdparty%2Ffreeradius-server.git Can't warn about unused results when there's no result --- diff --git a/src/lib/util/dpair.h b/src/lib/util/dpair.h index 3d0c2dc970..63965cd90a 100644 --- a/src/lib/util/dpair.h +++ b/src/lib/util/dpair.h @@ -179,7 +179,7 @@ fr_pair_t *fr_pair_afrom_child_num(TALLOC_CTX *ctx, fr_dict_attr_t const *parent fr_pair_t *fr_pair_copy(TALLOC_CTX *ctx, fr_pair_t const *vp) CC_HINT(warn_unused_result); -void fr_pair_steal(TALLOC_CTX *ctx, fr_pair_t *vp) CC_HINT(warn_unused_result); +void fr_pair_steal(TALLOC_CTX *ctx, fr_pair_t *vp); /** @hidecallergraph */ void fr_pair_list_free(fr_pair_list_t *list);