From 5a98f8f4abef53f7d39344bc1e97bfc43df9b821 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Mon, 1 May 2023 10:37:01 +0200 Subject: [PATCH] certificate: Fix build with DEBUG_LEVEL < 1 --- src/libstrongswan/credentials/certificates/certificate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.2