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

Fixed compilation warnings.#465

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 4 commits intocpp-netlib:0.11-develfrompovilasb:0.11-devel-fix-warnings
Nov 11, 2014
Merged
Show file tree
Hide file tree
Changes from1 commit
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
PrevPrevious commit
Added todo notes for dberris to review supressed unused parameter war…
…nings.
  • Loading branch information
@povilasb
povilasb committedNov 10, 2014
commit7b937731b9205f11d63248b3d8760a114837f8bd
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -199,6 +199,7 @@ struct http_async_connection
body_generator_function_type generator,
boost::system::error_code const& ec,
std::size_t bytes_transferred) {
// TODO(dberris): review parameter necessity.
(void)bytes_transferred;

if (!is_timedout_ && !ec) {
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -46,6 +46,7 @@ struct http_async_protocol_handler {

template <class ResponseType>
void init_response(ResponseType& response_, bool get_body) {
// TODO(dberris): review parameter necessity.
(void)get_body;

boost::shared_future<string_type> source_future(
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -22,6 +22,7 @@ void boost::network::http::impl::normal_delegate::connect(
asio::ip::tcp::endpoint &endpoint, std::string host,
function<void(system::error_code const &)> handler) {

// TODO(dberris): review parameter necessity.
(void)host;

socket_.reset(new asio::ip::tcp::socket(service_));
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -102,6 +102,7 @@ struct sync_connection_base_impl {
template <class Socket>
void send_request_impl(Socket& socket_, string_type const& method,
boost::asio::streambuf& request_buffer) {
// TODO(dberris): review parameter necessity.
(void)method;

write(socket_, request_buffer);
Expand All@@ -111,6 +112,7 @@ struct sync_connection_base_impl {
void read_body_normal(Socket& socket_, basic_response<Tag>& response_,
boost::asio::streambuf& response_buffer,
typename ostringstream<Tag>::type& body_stream) {
// TODO(dberris): review parameter necessity.
(void)response_;

boost::system::error_code error;
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,6 +67,7 @@ struct pooled_connection_policy : resolver_policy<Tag>::type {
certificate_file_(certificate_file),
private_key_file_(private_key_file) {

// TODO(dberris): review parameter necessity.
(void)host;
(void)port;
}
Expand All@@ -83,6 +84,7 @@ struct pooled_connection_policy : resolver_policy<Tag>::type {
string_type const& method, basic_request<Tag> request_, bool get_body,
body_callback_function_type callback,
body_generator_function_type generator) {
// TODO(dberris): review parameter necessity.
(void)callback;

boost::uint8_t count = 0;
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -51,6 +51,7 @@ struct simple_connection_policy : resolver_policy<Tag>::type {
optional<string_type> const& private_key_file = optional<string_type>())
: pimpl(), follow_redirect_(follow_redirect) {

// TODO(dberris): review parameter necessity.
(void)hostname;
(void)port;

Expand All@@ -66,6 +67,7 @@ struct simple_connection_policy : resolver_policy<Tag>::type {
basic_request<Tag> request_, bool get_body,
body_callback_function_type callback,
body_generator_function_type generator) {
// TODO(dberris): review parameter necessity.
(void)callback;

basic_response<Tag> response_;
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp