这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@DanielRuf
Copy link
Contributor

This PR removes a useless assignment as the method always return either -1or the value of n.

@dchest dchest merged commit 60316da into dchest:master Oct 24, 2019
@dchest
Copy link
Owner

dchest commented Oct 24, 2019

Thanks! It was a useless left-over from manual porting, but had a different semantics to the original C code. I've completely removed mlen.

@DanielRuf DanielRuf deleted the fix/remove-useless-assignment branch October 24, 2019 07:13
linegel pushed a commit to linegel/tweetnacl-js that referenced this pull request Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants