-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fixed some CLion inspection warnings #4688
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
Conversation
… value is never used" warning
| mUI->mComboBoxPlatform->setCurrentText(projectFile->getPlatform()); | ||
| setSuppressions(projectFile->getSuppressions()); | ||
|
|
||
| // TODO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not remove the comment block?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because I didn't look into why it is commented.
| QStringList getCheckUnknownFunctionReturn() const { | ||
| return mCheckUnknownFunctionReturn; | ||
| } | ||
| void setCheckUnknownFunctionReturn(const QStringList &s) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this a comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because the code which uses it is commented out. It's the one I added the TODO to.
I am open to keeping some things but I had these changes sitting in a branch for well over a year now and those things are still not used yet so it should be fair game to remove them.