Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Build: fix GCC 7 implicit fallthrough warnings#769

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
deanberris merged 1 commit intocpp-netlib:0.13-releasefromanonimal:0.13-release
Oct 17, 2017
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -273,6 +273,7 @@ struct http_async_connection
if (!parsed_ok || indeterminate(parsed_ok)) {
return;
}
// fall-through
case status:
if (ec == boost::asio::error::eof) return;
parsed_ok = this->parse_status(
Expand All@@ -286,6 +287,7 @@ struct http_async_connection
if (!parsed_ok || indeterminate(parsed_ok)) {
return;
}
// fall-through
case status_message:
if (ec == boost::asio::error::eof) return;
parsed_ok = this->parse_status_message(
Expand All@@ -298,6 +300,7 @@ struct http_async_connection
if (!parsed_ok || indeterminate(parsed_ok)) {
return;
}
// fall-through
case headers:
if (ec == boost::asio::error::eof) return;
// In the following, remainder is the number of bytes that remain in
Expand DownExpand Up@@ -456,13 +459,17 @@ struct http_async_connection
switch (state) {
case version:
this->version_promise.set_exception(std::make_exception_ptr(error));
// fall-through
case status:
this->status_promise.set_exception(std::make_exception_ptr(error));
// fall-through
case status_message:
this->status_message_promise.set_exception(
std::make_exception_ptr(error));
// fall-through
case headers:
this->headers_promise.set_exception(std::make_exception_ptr(error));
// fall-through
case body:
if (!callback) {
// N.B. if callback is non-null, then body_promise has already been
Expand All@@ -473,6 +480,7 @@ struct http_async_connection
else
callback( char_const_range(), report_code );
break;
// fall-through
default:
BOOST_ASSERT(false && "Bug, report this to the developers!");
}
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp