From 24677dc5612141bedd5db7be19edeeec6fd13c35 Mon Sep 17 00:00:00 2001 From: Steffen Eiden Date: Fri, 23 Sep 2022 17:02:59 +0000 Subject: [PATCH] libpv: remove wrong parameter attribute MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `error` is actually used therefore let's remove the `G_GNUC_UNUSED` attribute. Signed-off-by: Steffen Eiden Reviewed-by: Marc Hartmayer Signed-off-by: Jan Höppner --- libpv/crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpv/crypto.c b/libpv/crypto.c index 3cac9d23..bb5acefb 100644 --- a/libpv/crypto.c +++ b/libpv/crypto.c @@ -276,7 +276,7 @@ int64_t pv_gcm_decrypt(GBytes *cipher, GBytes *aad, GBytes *tag, const PvCipherP } GBytes *pv_hkdf_extract_and_expand(size_t derived_key_len, GBytes *key, GBytes *salt, GBytes *info, - const EVP_MD *md, G_GNUC_UNUSED GError **error) + const EVP_MD *md, GError **error) { const unsigned char *salt_data, *key_data, *info_data; g_autoptr(EVP_PKEY_CTX) ctx = NULL;