certificate: Fix build with DEBUG_LEVEL < 1

This commit is contained in:
Tobias Brunner 2023-05-01 10:37:01 +02:00
parent b39105b5b4
commit 5a98f8f4ab

View File

@ -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)