From: Alan T. DeKok Date: Thu, 7 Apr 2022 20:55:58 +0000 (-0400) Subject: remove unnecessary struct/union X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df39c52917d0c6330f28e29ca36d00e5348d52f0;p=thirdparty%2Ffreeradius-server.git remove unnecessary struct/union this doesn't change anything other than formatting --- 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