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

Fix modernize-avoid-bind warning reported by clang-tidy #1121

Merged
merged 7 commits into from
Nov 14, 2022

Conversation

Phoeniwx
Copy link
Contributor

@Phoeniwx Phoeniwx commented Nov 14, 2022

This close #1094

@tanruixiang tanruixiang changed the title Fix: #1094 modernize-avoid-bind warning Fix modernize-avoid-bind warning reported by clang-tidy Nov 14, 2022
Copy link
Member

@tanruixiang tanruixiang left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution. It looks like there is some original code that forgot to remove. By the way, you need to add the check to .clang-tidy and resolve conflicts. And use ./x.py format to format code.

src/commands/redis_cmd.cc Outdated Show resolved Hide resolved
src/commands/redis_cmd.cc Outdated Show resolved Hide resolved
src/cluster/cluster.cc Outdated Show resolved Hide resolved
src/cluster/cluster.cc Outdated Show resolved Hide resolved
src/commands/redis_cmd.cc Outdated Show resolved Hide resolved
src/commands/redis_cmd.cc Outdated Show resolved Hide resolved
@Phoeniwx
Copy link
Contributor Author

Sorry guys, I ve removed old commented code, renamed variables, formatted code and updated .clang-tidy

.clang-tidy Outdated Show resolved Hide resolved
Co-authored-by: Twice <twice@apache.org>
@PragmaTwice
Copy link
Member

Thanks for your contribution!

@PragmaTwice PragmaTwice merged commit 52cbfd4 into apache:unstable Nov 14, 2022
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.

Fix modernize-avoid-bind warning reported by clang-tidy
4 participants