diff --git a/ecc-eh-to-a.c b/ecc-eh-to-a.c
index 3b7aff2238bfce5990cd83d8a89cf4c44cb7cbd7..95f30a7cb40ae0d3eea9c5113b99689df99d2f3c 100644
--- a/ecc-eh-to-a.c
+++ b/ecc-eh-to-a.c
@@ -79,7 +79,6 @@ ecc_eh_to_a (const struct ecc_curve *ecc,
 	  /* Reduce modulo q. FIXME: Hardcoded for curve25519,
 	     duplicates end of ecc_25519_modq. FIXME: Is this needed
 	     at all? Full reduction mod p is maybe sufficient. */
-	  mp_limb_t cy;
 	  unsigned shift;
 	  assert (ecc->p.bit_size == 255);
 	  shift = 252 - GMP_NUMB_BITS * (ecc->p.size - 1);