Skip to content

Commit 599178b

Browse files
committed
Delint.
1 parent 4ef75f1 commit 599178b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/parsers/native_query.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ media_type get_media(const rpc::request_t& model) NOEXCEPT
128128
case media_type::application_json:
129129
case media_type::application_octet_stream:
130130
return value;
131+
default:
132+
return media_type::unknown;
131133
}
132134
}
133135
}

src/protocols/protocol_native.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ bool protocol_native::try_dispatch_object(const http::request& request) NOEXCEPT
139139
// Serialization.
140140
// ----------------------------------------------------------------------------
141141

142-
constexpr auto html = to_value(http::media_type::text_html);
142+
////constexpr auto html = to_value(http::media_type::text_html);
143143
constexpr auto text = to_value(http::media_type::text_plain);
144144
constexpr auto json = to_value(http::media_type::application_json);
145145
constexpr auto data = to_value(http::media_type::application_octet_stream);

0 commit comments

Comments
 (0)