From: Tobias Brunner Date: Mon, 1 May 2023 08:37:01 +0000 (+0200) Subject: certificate: Fix build with DEBUG_LEVEL < 1 X-Git-Tag: 5.9.11rc1~12^2~48 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=5a98f8f4abef53f7d39344bc1e97bfc43df9b821;p=thirdparty%2Fstrongswan.git certificate: Fix build with DEBUG_LEVEL < 1 --- diff --git a/src/libstrongswan/credentials/certificates/certificate.c b/src/libstrongswan/credentials/certificates/certificate.c index f926afca60..91bc0f509c 100644 --- a/src/libstrongswan/credentials/certificates/certificate.c +++ b/src/libstrongswan/credentials/certificates/certificate.c @@ -48,7 +48,7 @@ ENUM(cert_validation_names, VALIDATION_GOOD, VALIDATION_REVOKED, bool certificate_is_newer(certificate_t *this, certificate_t *other) { time_t this_update, that_update; - char *type = "certificate"; + char *type DBG_UNUSED = "certificate"; bool newer; if (this->get_type(this) == CERT_X509_CRL)