From 7cdcf603a6e49067ea34ed98e850ff66c7bcdc84 Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Thu, 7 Sep 2017 19:36:41 -0400 Subject: [PATCH] const --- src/lib/util/value.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/util/value.c b/src/lib/util/value.c index fd0ceef21d08..5fdcec0f7a4c 100644 --- a/src/lib/util/value.c +++ b/src/lib/util/value.c @@ -2621,7 +2621,9 @@ int fr_value_box_memsteal(TALLOC_CTX *ctx, fr_value_box_t *dst, fr_dict_attr_t c { uint8_t const *bin; +#ifndef NDEBUG (void) talloc_get_type_abort(src, uint8_t); +#endif bin = talloc_steal(ctx, src); if (!bin) {