Skip to content

Conversation

@firewave
Copy link
Collaborator

@firewave firewave commented Jan 6, 2023

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.

@firewave firewave changed the title removed some unused code found by CLion "Unused global declaration" inspection fixed some CLion inspection warnings Jan 26, 2023
mUI->mComboBoxPlatform->setCurrentText(projectFile->getPlatform());
setSuppressions(projectFile->getSuppressions());

// TODO
Copy link
Collaborator

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?

Copy link
Collaborator Author

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) {
Copy link
Collaborator

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?

Copy link
Collaborator Author

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.

@firewave firewave merged commit b3016f0 into danmar:main Apr 28, 2023
@firewave firewave deleted the unused-2 branch April 28, 2023 14:02
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