ITS#10436 Silence useless warnings

This commit is contained in:
Ondřej Kuzník 2025-12-17 11:17:44 +00:00
parent 909b7c5abc
commit b115d83b1d

View file

@ -72,11 +72,13 @@ cat << __EOF__
* <http://www.OpenLDAP.org/license.html>.
*/
static const char copyright[] =
#include <ldap_cdefs.h>
static const char copyright[] LDAP_GCCATTR((unused)) =
"Copyright 1998-2026 The OpenLDAP Foundation. All rights reserved.\n"
"COPYING RESTRICTIONS APPLY\n";
$static $const char $SYMBOL[] =
$static $const char $SYMBOL[] LDAP_GCCATTR((unused)) =
"@(#) \$$PACKAGE: $APPLICATION $VERSION (" __DATE__ " " __TIME__ ") \$\n"
"\t$WHOWHERE\n";