Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean code #4071

Merged
merged 2 commits into from
May 9, 2023
Merged

Clean code #4071

merged 2 commits into from
May 9, 2023

Conversation

stweil
Copy link
Member

@stweil stweil commented May 9, 2023

  • Avoid 32 bit overflow in multiplication
  • Avoid unnecessary string conversions

stweil added 2 commits May 9, 2023 13:14
The CodeQL CI reports "Multiplication result converted to larger type".

Signed-off-by: Stefan Weil <[email protected]>
@zdenop zdenop merged commit fbba190 into tesseract-ocr:main May 9, 2023
@stweil stweil deleted the clean branch May 9, 2023 19:47
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