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

tiny cleanup #226

Closed
wants to merge 2 commits into from
Closed

tiny cleanup #226

wants to merge 2 commits into from

Conversation

zhexuany
Copy link
Contributor

@zhexuany zhexuany commented Sep 9, 2019

return Field() is unreachable code.

@zhexuany zhexuany requested a review from zanmato1984 September 9, 2019 07:09
@@ -64,7 +64,6 @@ Field ColumnInfo::defaultValueToField() const
default:
throw Exception("Have not proccessed type: " + std::to_string(tp));
}
return Field();
Copy link
Contributor

@zanmato1984 zanmato1984 Sep 11, 2019

Choose a reason for hiding this comment

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

Some old compiler may require this return.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

got it. closing this PR.

@zhexuany zhexuany closed this Sep 12, 2019
@zhexuany zhexuany deleted the tiny_cleanup branch September 12, 2019 05:11
JaySon-Huang added a commit to JaySon-Huang/tiflash that referenced this pull request Aug 2, 2024
…p#226)

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
Co-authored-by: JaySon <[email protected]>
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