From df39c52917d0c6330f28e29ca36d00e5348d52f0 Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Thu, 7 Apr 2022 16:55:58 -0400 Subject: [PATCH] remove unnecessary struct/union this doesn't change anything other than formatting --- src/lib/util/value.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/lib/util/value.h b/src/lib/util/value.h index ecea2732b1..9f3800bdaf 100644 --- a/src/lib/util/value.h +++ b/src/lib/util/value.h @@ -103,13 +103,9 @@ struct value_box_s { /* * Variable length values */ - struct { - union { - char const * _CONST strvalue; //!< Pointer to UTF-8 string. - uint8_t const * _CONST octets; //!< Pointer to binary string. - void * _CONST ptr; //!< generic pointer. - }; - }; + char const * _CONST strvalue; //!< Pointer to UTF-8 string. + uint8_t const * _CONST octets; //!< Pointer to binary string. + void * _CONST ptr; //!< generic pointer. /* * Fixed length values -- 2.47.2