• Jean-Christophe Fillion-Robin's avatar
    Style: Fix unused parameter compilation warnings · f329252d
    Jean-Christophe Fillion-Robin authored
    This commit addresses the following warnings reported on gcc 5.2.1. In
    the future, this will help reduce the "noise" and help catch warnings
    revealing a serious problem.
    
    8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
    /path/to/libzmq/src/options.cpp:1048:36: warning: unused parameter ‘option_’ [-Wunused-parameter]
     bool zmq::options_t::is_valid (int option_) const
                                        ^
    
    /path/to/libzmq/src/plain_client.cpp:146:30: warning: unused parameter ‘cmd_data’ [-Wunused-parameter]
             const unsigned char *cmd_data, size_t data_size)
                                  ^
    
    /path/to/libzmq/src/plain_client.cpp:146:30: warning: unused parameter ‘cmd_data’ [-Wunused-parameter]
             const unsigned char *cmd_data, size_t data_size)
                                  ^
    
    /path/to/libzmq/src/socket_base.cpp:1445:44: warning: unused parameter ‘group_’ [-Wunused-parameter]
     int zmq::socket_base_t::xjoin (const char *group_)
                                                ^
    /path/to/libzmq/src/socket_base.cpp:1451:45: warning: unused parameter ‘group_’ [-Wunused-parameter]
     int zmq::socket_base_t::xleave (const char *group_)
                                                 ^
    
    /path/to/libzmq/src/radio.cpp:145:33: warning: unused parameter ‘msg_’ [-Wunused-parameter]
     int zmq::radio_t::xrecv (msg_t *msg_)
                                     ^
    /path/to/libzmq/src/dish.cpp:164:32: warning: unused parameter ‘msg_’ [-Wunused-parameter]
     int zmq::dish_t::xsend (msg_t *msg_)
                                    ^
    
    /path/to/libzmq/tests/test_msg_ffn.cpp:32:16: warning: unused parameter ‘data’ [-Wunused-parameter]
     void ffn(void *data, void *hint) {
                    ^
    
    /path/to/libzmq/tests/test_timers.cpp:50:19: warning: unused parameter ‘timer_id’ [-Wunused-parameter]
     void handler (int timer_id, void* arg)
                       ^
    8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---8<---
    f329252d
Name
Last commit
Last update
..
CMakeLists.txt Loading commit data...
test_abstract_ipc.cpp Loading commit data...
test_atomics.cpp Loading commit data...
test_bind_src_address.cpp Loading commit data...
test_capabilities.cpp Loading commit data...
test_client_server.cpp Loading commit data...
test_conflate.cpp Loading commit data...
test_connect_delay_tipc.cpp Loading commit data...
test_connect_resolve.cpp Loading commit data...
test_connect_rid.cpp Loading commit data...
test_ctx_destroy.cpp Loading commit data...
test_ctx_options.cpp Loading commit data...
test_diffserv.cpp Loading commit data...
test_disconnect_inproc.cpp Loading commit data...
test_filter_ipc.cpp Loading commit data...
test_fork.cpp Loading commit data...
test_getsockopt_memset.cpp Loading commit data...
test_heartbeats.cpp Loading commit data...
test_hwm.cpp Loading commit data...
test_hwm_pubsub.cpp Loading commit data...
test_immediate.cpp Loading commit data...
test_inproc_connect.cpp Loading commit data...
test_invalid_rep.cpp Loading commit data...
test_iov.cpp Loading commit data...
test_ipc_wildcard.cpp Loading commit data...
test_issue_566.cpp Loading commit data...
test_large_msg.cpp Loading commit data...
test_last_endpoint.cpp Loading commit data...
test_many_sockets.cpp Loading commit data...
test_metadata.cpp Loading commit data...
test_monitor.cpp Loading commit data...
test_msg_ffn.cpp Loading commit data...
test_msg_flags.cpp Loading commit data...
test_pair_inproc.cpp Loading commit data...
test_pair_ipc.cpp Loading commit data...
test_pair_tcp.cpp Loading commit data...
test_pair_tipc.cpp Loading commit data...
test_pair_vmci.cpp Loading commit data...
test_poller.cpp Loading commit data...
test_probe_router.cpp Loading commit data...
test_proxy.cpp Loading commit data...
test_proxy_single_socket.cpp Loading commit data...
test_proxy_terminate.cpp Loading commit data...
test_pub_invert_matching.cpp Loading commit data...
test_radio_dish.cpp Loading commit data...
test_req_correlate.cpp Loading commit data...
test_req_relaxed.cpp Loading commit data...
test_reqrep_device.cpp Loading commit data...
test_reqrep_device_tipc.cpp Loading commit data...
test_reqrep_inproc.cpp Loading commit data...
test_reqrep_ipc.cpp Loading commit data...
test_reqrep_tcp.cpp Loading commit data...
test_reqrep_tipc.cpp Loading commit data...
test_reqrep_vmci.cpp Loading commit data...
test_router_handover.cpp Loading commit data...
test_router_mandatory.cpp Loading commit data...
test_router_mandatory_hwm.cpp Loading commit data...
test_router_mandatory_tipc.cpp Loading commit data...
test_security_curve.cpp Loading commit data...
test_security_null.cpp Loading commit data...
test_security_plain.cpp Loading commit data...
test_setsockopt.cpp Loading commit data...
test_shutdown_stress.cpp Loading commit data...
test_shutdown_stress_tipc.cpp Loading commit data...
test_sockopt_hwm.cpp Loading commit data...
test_spec_dealer.cpp Loading commit data...
test_spec_pushpull.cpp Loading commit data...
test_spec_rep.cpp Loading commit data...
test_spec_req.cpp Loading commit data...
test_spec_router.cpp Loading commit data...
test_srcfd.cpp Loading commit data...
test_stream.cpp Loading commit data...
test_stream_disconnect.cpp Loading commit data...
test_stream_empty.cpp Loading commit data...
test_stream_exceeds_buffer.cpp Loading commit data...
test_stream_timeout.cpp Loading commit data...
test_sub_forward.cpp Loading commit data...
test_sub_forward_tipc.cpp Loading commit data...
test_system.cpp Loading commit data...
test_term_endpoint.cpp Loading commit data...
test_term_endpoint_tipc.cpp Loading commit data...
test_thread_safe.cpp Loading commit data...
test_timeo.cpp Loading commit data...
test_timers.cpp Loading commit data...
test_udp.cpp Loading commit data...
test_unbind_inproc.cpp Loading commit data...
test_unbind_wildcard.cpp Loading commit data...
test_xpub_manual.cpp Loading commit data...
test_xpub_nodrop.cpp Loading commit data...
test_xpub_welcome_msg.cpp Loading commit data...
testutil.hpp Loading commit data...