From 4abc4123481631e820f408e04edea0478a73064c Mon Sep 17 00:00:00 2001 From: cui <523516579@qq.com> Date: Thu, 24 Aug 2023 03:26:30 +0800 Subject: [PATCH] crypto/bn256: eliminate dead store (#27944) --- crypto/bn256/cloudflare/optate.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crypto/bn256/cloudflare/optate.go b/crypto/bn256/cloudflare/optate.go index b71e50e3a..e8caa7a08 100644 --- a/crypto/bn256/cloudflare/optate.go +++ b/crypto/bn256/cloudflare/optate.go @@ -199,9 +199,8 @@ func miller(q *twistPoint, p *curvePoint) *gfP12 { r = newR r2.Square(&minusQ2.y) - a, b, c, newR = lineFunctionAdd(r, minusQ2, bAffine, r2) + a, b, c, _ = lineFunctionAdd(r, minusQ2, bAffine, r2) mulLine(ret, a, b, c) - r = newR return ret }