From: Alan T. DeKok Date: Sat, 20 Nov 2021 16:24:54 +0000 (-0500) Subject: try to shut up clang X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4aab4814553d18f2830fc7c665e54e92454cd52;p=thirdparty%2Ffreeradius-server.git try to shut up clang --- diff --git a/src/lib/util/token.c b/src/lib/util/token.c index 1dc14d47183..ced2de62227 100644 --- a/src/lib/util/token.c +++ b/src/lib/util/token.c @@ -116,6 +116,11 @@ char const *fr_tokens[T_TOKEN_LAST] = { }; +/* + * This is fine. Don't complain. + */ +#pragma clang diagnostic ignored "-Wgnu-designator" + /** Convert tokens back to a quoting character * * Non-string types convert to '?' to screw ups can be identified easily