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

*: Enable unused/deadcode/varcheck/errcheck #140

Merged
merged 3 commits into from
Nov 28, 2019
Merged

*: Enable unused/deadcode/varcheck/errcheck #140

merged 3 commits into from
Nov 28, 2019

Conversation

suzaku
Copy link
Contributor

@suzaku suzaku commented Nov 28, 2019

What problem does this PR solve?

Some useful static checks are disabled.

What is changed and how it works?

Enable the checks and fix the errors to make the check pass.

Check List

Tests

  • Unit test

@suzaku suzaku requested review from july2993 and amyangfei and removed request for july2993 November 28, 2019 07:52
@suzaku suzaku added the status/ptal Could you please take a look? label Nov 28, 2019
Copy link
Contributor

@july2993 july2993 left a comment

Choose a reason for hiding this comment

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

rest LGTM

cdc/kv/testing.go Show resolved Hide resolved
@july2993 july2993 added LGT1 and removed status/ptal Could you please take a look? labels Nov 28, 2019
@july2993
Copy link
Contributor

@amyangfei PTAL

Copy link
Contributor

@amyangfei amyangfei left a comment

Choose a reason for hiding this comment

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

LGTM

@amyangfei amyangfei added LGT2 and removed LGT1 labels Nov 28, 2019
@suzaku suzaku merged commit 05c5a6a into pingcap:master Nov 28, 2019
@suzaku suzaku deleted the fix-unused branch November 28, 2019 09:05
5kbpers pushed a commit to 5kbpers/ticdc that referenced this pull request Aug 24, 2020
amyangfei pushed a commit to amyangfei/tiflow that referenced this pull request May 6, 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.

3 participants