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

[SelectHandler.C:52] -> [SelectHandler.C:52]: (style) Same expression on both sides of '&&'. #1

Closed
dcb314 opened this issue Feb 19, 2014 · 1 comment

Comments

@dcb314
Copy link

dcb314 commented Feb 19, 2014

Source code is

bool click((m_rectangle.width() < 3) && (m_rectangle.width() < 3));

Maybe

bool click((m_rectangle.width() < 3) && (m_rectangle.height() < 3));

would be better code.

@nutjunkie
Copy link
Owner

Yes, thank you.

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