Fix warning that a temporary value isn't used.

This commit is contained in:
Isis Lovecruft 2019-10-28 18:10:30 +00:00
parent 4cc0afdcfc
commit 4423394ed8
No known key found for this signature in database
GPG key ID: AB41313533E8E812

View file

@ -25,7 +25,7 @@ pub(crate) fn mul(point: &EdwardsPoint, scalar: &Scalar) -> EdwardsPoint {
// We sum right-to-left.
// Unwrap first loop iteration to save computing 16*identity
let mut tmp2 = ProjectivePoint::identity();
let mut tmp2;
let mut tmp3 = EdwardsPoint::identity();
let mut tmp1 = &tmp3 + &lookup_table.select(scalar_digits[63]);
// Now tmp1 = s_63*P in P1xP1 coords