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

Expression is always true #612

Closed
thehlopster opened this issue Feb 8, 2021 · 0 comments
Closed

Expression is always true #612

thehlopster opened this issue Feb 8, 2021 · 0 comments

Comments

@thehlopster
Copy link
Contributor

winmerge/Src/PatchHTML.cpp

Lines 434 to 436 in a9b9110

unsigned spaces = TAB_WIDTH - column % TAB_WIDTH;
column += spaces;
if (spaces > 0)

since spaces is unsigned it is never lower than 0, so this check is unnecessary and can be removed

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

No branches or pull requests

2 participants