Skip to content

avoid some Clang compiler warnings#3896

Merged
danmar merged 1 commit into
cppcheck-opensource:mainfrom
firewave:clang-warn
Mar 13, 2022
Merged

avoid some Clang compiler warnings#3896
danmar merged 1 commit into
cppcheck-opensource:mainfrom
firewave:clang-warn

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Collaborator

@danmar danmar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. small nit.

Comment thread lib/checkclass.cpp Outdated
switch (type) {
case Function::eOperatorEqual:
isOpEqual = true;
FALLTHROUGH;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm we can add a break here right?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes more sense. Done.

@danmar danmar merged commit 0d336b8 into cppcheck-opensource:main Mar 13, 2022
@firewave firewave deleted the clang-warn branch March 13, 2022 19:19
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