crypto/bn256: eliminate dead store (#27944)

This commit is contained in:
cui 2023-08-24 03:26:30 +08:00 committed by GitHub
parent e3f3e01504
commit 4abc412348
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -199,9 +199,8 @@ func miller(q *twistPoint, p *curvePoint) *gfP12 {
r = newR r = newR
r2.Square(&minusQ2.y) 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) mulLine(ret, a, b, c)
r = newR
return ret return ret
} }