ldns: Fix unused variable on big-endian

MFC after:	1 week
Fixes:		9ed998a81b ("ldns: Update to 1.9.0")
This commit is contained in:
Dag-Erling Smørgrav committed 2026-05-22 21:38:34 +02:00
1 parent eff5f220c3
commit dd64155367
1 file changed
+2
+2
View File
@@ -738,7 +738,9 @@ static void ldns_sha512_Transform(ldns_sha512_CTX* context,
sha2_word64 a, b, c, d, e, f, g, h, s0, s1;
sha2_word64 T1, T2, *W512 = (sha2_word64*)context->buffer;
int j;
#if BYTE_ORDER == LITTLE_ENDIAN
sha2_word64 aligned;
#endif /* BYTE_ORDER == LITTLE_ENDIAN */
/* initialize registers with the prev. intermediate value */
a = context->state[0];