libzmq:

Run:44316113512
Check:main: misc-const-correctness
Status:ok
Time:5s
Warnings:585 (TP 0, FP 0, unclassified 585)
Source:zeromq/libzmq/blob/46493370217ac135246617fa2f6ac819d8b61bfc

Warnings (585):

VerdictLocationMessage
-perf/benchmark_radix_tree.cpp:39:13variable 'start' of type 'time_point' (aka 'chrono::time_point<steady_clock, duration<long, ratio<1, 1000000000>>>') can be declared 'const'
-perf/benchmark_radix_tree.cpp:41:13variable 'end' of type 'time_point' (aka 'chrono::time_point<steady_clock, duration<long, ratio<1, 1000000000>>>') can be declared 'const'
-perf/proxy_thr.cpp:183:5variable 'success' of type 'bool' can be declared 'const'
-perf/proxy_thr.cpp:313:5variable 'rv' of type 'int' can be declared 'const'
-perf/proxy_thr.cpp:366:5variable 'throughput' of type 'unsigned long' can be declared 'const'
-perf/proxy_thr.cpp:368:5variable 'megabits' of type 'double' can be declared 'const'
-perf/proxy_thr.cpp:381:5variable 'rc' of type 'int' can be declared 'const'
-src/clock.cpp:149:5variable 'rc' of type 'int' can be declared 'const'
-src/clock.cpp:158:9variable 'rc' of type 'int' can be declared 'const'
-src/ctx.cpp:214:5variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:245:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:253:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:261:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:269:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:277:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:285:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:308:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:323:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:331:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:339:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:347:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:355:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:363:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:381:5variable 'optvallen' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-src/ctx.cpp:464:5variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:505:5variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:558:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:566:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:574:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:585:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:596:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:600:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:622:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:630:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:634:17variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:675:5variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:690:5variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:706:5variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:724:5variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:726:5variable 'it' of type 'endpoints_t::iterator' (aka '_Rb_tree_iterator<std::pair<const std::basic_string<char>, zmq::endpoint_t>>') can be declared 'const'
-src/ctx.cpp:747:5variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/ctx.cpp:768:5variable 'locker' of type 'scoped_lock_t' can be declared 'const'
-src/dbuffer.hpp:67:13variable 'lock' of type 'scoped_lock_t' can be declared 'const'
-src/dbuffer.hpp:84:9variable 'lock' of type 'scoped_lock_t' can be declared 'const'
-src/dbuffer.hpp:91:9variable 'lock' of type 'scoped_lock_t' can be declared 'const'
-src/dist.cpp:39:5variable 'claimed_index' of type 'std::size_t' (aka 'unsigned long') can be declared 'const'
-src/dist.cpp:163:9variable 'rc' of type 'int' can be declared 'const'
-src/generic_mtrie_impl.hpp:190:21variable 'next' of type 'struct iter' can be declared 'const'
-src/generic_mtrie_impl.hpp:219:25variable 'next' of type 'struct iter' can be declared 'const'
-src/generic_mtrie_impl.hpp:403:17variable 'erased' of type 'typename pipes_t::size_type' (aka 'unsigned long') can be declared 'const'
-src/generic_mtrie_impl.hpp:434:13variable 'next' of type 'struct iter' can be declared 'const'
-src/generic_mtrie_impl.hpp:528:10pointee of variable 'current' of type 'generic_mtrie_t<pipe_t> *' can be declared 'const'
-src/ip.cpp:121:5variable 'rc' of type 'int' can be declared 'const'
-src/ip.cpp:214:5variable 'rc' of type 'int' can be declared 'const'
-src/ip.cpp:247:5variable 'rc' of type 'int' can be declared 'const'
-src/ip.cpp:542:5variable 'fd' of type 'fd_t' (aka 'int') can be declared 'const'
-src/ip.cpp:929:5pointee of variable 'tmp_env' of type 'const char **' can be declared 'const'
-src/ipc_listener.cpp:234:14pointee of variable 'mem' of type 'char **' can be declared 'const'
-src/ipc_listener.cpp:278:5variable 'sock' of type 'fd_t' (aka 'int') can be declared 'const'
-src/ipc_listener.cpp:309:9variable 'rc' of type 'int' can be declared 'const'
-src/ipc_listener.cpp:320:9variable 'rc' of type 'int' can be declared 'const'
-src/msg.cpp:214:5variable 'rc' of type 'int' can be declared 'const'
-src/msg.cpp:229:5variable 'rc' of type 'int' can be declared 'const'
-src/msg.cpp:658:5variable 'length' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-src/mutex.hpp:108:9variable 'rc' of type 'int' can be declared 'const'
-src/mutex.hpp:114:9variable 'rc' of type 'int' can be declared 'const'
-src/mutex.hpp:124:9variable 'rc' of type 'int' can be declared 'const'
-src/options.cpp:760:25variable 'val' of type 'std::string' (aka 'basic_string<char>') can be declared 'const'
-src/peer.cpp:23:5variable 'sync_lock' of type 'scoped_optional_lock_t' can be declared 'const'
-src/peer.cpp:31:5variable 'rc' of type 'int' can be declared 'const'
-src/poller_base.cpp:29:5variable 'expiration' of type 'uint64_t' (aka 'unsigned long') can be declared 'const'
-src/poller_base.cpp:30:5variable 'info' of type 'timer_info_t' can be declared 'const'
-src/proxy.cpp:112:13variable 'nbytes' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-src/proxy.cpp:162:5pointee of variable 'command' of type 'uint8_t *const' (aka 'unsigned char *const') can be declared 'const'
-src/radio.cpp:58:17variable 'range' of type 'std::pair<subscriptions_t::iterator, subscriptions_t::iterator>' (aka 'std::pair<_Rb_tree_iterator<std::pair<const std::basic_string<char>, zmq::pipe_t *>>, _Rb_tree_iterator<std::pair<const std::basic_string<char>, zmq::pipe_t *>>>') can be declared 'const'
-src/radio.cpp:189:9pointee of variable 'command_data' of type 'char *' can be declared 'const'
-src/random.cpp:25:5variable 'pid' of type 'int' can be declared 'const'
-src/req.cpp:89:5variable 'more' of type 'bool' can be declared 'const'
-src/req.cpp:91:5variable 'rc' of type 'int' can be declared 'const'
-src/server.cpp:41:5variable 'outpipe' of type 'outpipe_t' can be declared 'const'
-src/server.cpp:85:5variable 'it' of type 'out_pipes_t::iterator' (aka '_Rb_tree_iterator<std::pair<const unsigned int, zmq::server_t::outpipe_t>>') can be declared 'const'
-src/server.cpp:161:5variable 'it' of type 'out_pipes_t::iterator' (aka '_Rb_tree_iterator<std::pair<const unsigned int, zmq::server_t::outpipe_t>>') can be declared 'const'
-src/session_base.cpp:340:5variable 'peer' of type 'endpoint_t' can be declared 'const'
-src/session_base.cpp:370:9variable 'ok' of type 'bool' can be declared 'const'
-src/session_base.cpp:680:9variable 'rc' of type 'int' can be declared 'const'
-src/signaler.cpp:110:5variable 'rc' of type 'int' can be declared 'const'
-src/signaler.cpp:156:5variable 'sz' of type 'ssize_t' (aka 'long') can be declared 'const'
-src/signaler.cpp:280:5variable 'sz' of type 'ssize_t' (aka 'long') can be declared 'const'
-src/signaler.cpp:287:9variable 'sz2' of type 'ssize_t' (aka 'long') can be declared 'const'
-src/signaler.cpp:316:5variable 'sz' of type 'ssize_t' (aka 'long') can be declared 'const'
-src/signaler.cpp:327:9variable 'sz2' of type 'ssize_t' (aka 'long') can be declared 'const'
-src/socket_base.cpp:288:5variable 'lock' of type 'scoped_lock_t' can be declared 'const'
-src/socket_base.cpp:422:5variable 'sync_lock' of type 'scoped_optional_lock_t' can be declared 'const'
-src/socket_base.cpp:447:5variable 'sync_lock' of type 'scoped_optional_lock_t' can be declared 'const'
-src/socket_base.cpp:455:5variable 'rc' of type 'int' can be declared 'const'
-src/socket_base.cpp:501:5variable 'sync_lock' of type 'scoped_optional_lock_t' can be declared 'const'
-src/socket_base.cpp:508:5variable 'sync_lock' of type 'scoped_optional_lock_t' can be declared 'const'
-src/socket_base.cpp:515:5variable 'sync_lock' of type 'scoped_optional_lock_t' can be declared 'const'
-src/socket_base.cpp:524:5variable 'sync_lock' of type 'scoped_lock_t' can be declared 'const'
-src/socket_base.cpp:532:5variable 'sync_lock' of type 'scoped_lock_t' can be declared 'const'
-src/socket_base.cpp:538:5variable 'sync_lock' of type 'scoped_optional_lock_t' can be declared 'const'
-src/socket_base.cpp:708:9variable 'rc' of type 'int' can be declared 'const'
-src/socket_base.cpp:730:9variable 'rc' of type 'int' can be declared 'const'
-src/socket_base.cpp:775:9variable 'rc' of type 'int' can be declared 'const'
-src/socket_base.cpp:798:5variable 'sync_lock' of type 'scoped_optional_lock_t' can be declared 'const'
-src/socket_base.cpp:1017:9variable 'rc' of type 'int' can be declared 'const'
-src/socket_base.cpp:1061:9variable 'rc' of type 'int' can be declared 'const'
-src/socket_base.cpp:1095:9variable 'rc' of type 'int' can be declared 'const'
-src/socket_base.cpp:1197:5variable 'sync_lock' of type 'scoped_optional_lock_t' can be declared 'const'
-src/socket_base.cpp:1265:5variable 'sync_lock' of type 'scoped_optional_lock_t' can be declared 'const'
-src/socket_base.cpp:1353:5variable 'sync_lock' of type 'scoped_optional_lock_t' can be declared 'const'
-src/socket_base.cpp:1449:5variable 'sync_lock' of type 'scoped_optional_lock_t' can be declared 'const'
-src/socket_base.cpp:1487:9variable 'sync_lock' of type 'scoped_optional_lock_t' can be declared 'const'
-src/socket_base.cpp:1566:5variable 'lock' of type 'scoped_lock_t' can be declared 'const'
-src/socket_base.cpp:1624:9variable 'lock' of type 'scoped_lock_t' can be declared 'const'
-src/socket_base.cpp:1731:9variable 'sync_lock' of type 'scoped_optional_lock_t' can be declared 'const'
-src/socket_base.cpp:1834:5variable 'lock' of type 'scoped_lock_t' can be declared 'const'
-src/socket_base.cpp:2008:5variable 'lock' of type 'scoped_lock_t' can be declared 'const'
-src/socket_base.cpp:2190:5variable 'it' of type 'out_pipes_t::iterator' (aka '_Rb_tree_iterator<std::pair<const zmq::blob_t, zmq::routing_socket_base_t::out_pipe_t>>') can be declared 'const'
-src/stream_engine_base.cpp:124:9variable 'rc' of type 'int' can be declared 'const'
-src/tcp.cpp:107:9variable 'rc' of type 'int' can be declared 'const'
-src/tcp.cpp:116:13variable 'rc' of type 'int' can be declared 'const'
-src/tcp.cpp:126:13variable 'rc' of type 'int' can be declared 'const'
-src/tcp.cpp:146:13variable 'rc' of type 'int' can be declared 'const'
-src/tcp.cpp:177:5variable 'rc' of type 'int' can be declared 'const'
-src/tcp.cpp:215:5variable 'nbytes' of type 'ssize_t' (aka 'long') can be declared 'const'
-src/tcp_address.cpp:105:5variable 'res' of type 'int' can be declared 'const'
-src/tcp_listener.cpp:178:5variable 'sock' of type 'fd_t' (aka 'int') can be declared 'const'
-src/tcp_listener.cpp:223:13variable 'rc' of type 'int' can be declared 'const'
-src/tcp_listener.cpp:235:9variable 'rc' of type 'int' can be declared 'const'
-src/thread.cpp:240:5variable 'rc' of type 'int' can be declared 'const'
-src/thread.cpp:248:9variable 'rc' of type 'int' can be declared 'const'
-src/thread.cpp:292:5variable 'use_nice_instead_priority' of type 'bool' can be declared 'const'
-src/thread.cpp:372:5variable 'rc' of type 'int' can be declared 'const'
-src/timers.cpp:31:5variable 'when' of type 'uint64_t' (aka 'unsigned long') can be declared 'const'
-src/timers.cpp:32:5variable 'timer' of type 'timer_t' (aka 'struct timer_t') can be declared 'const'
-src/timers.cpp:80:9variable 'when' of type 'uint64_t' (aka 'unsigned long') can be declared 'const'
-src/timers.cpp:97:9variable 'timer' of type 'timer_t' (aka 'struct timer_t') can be declared 'const'
-src/timers.cpp:98:9variable 'when' of type 'uint64_t' (aka 'unsigned long') can be declared 'const'
-src/tipc_connecter.cpp:41:5variable 'fd' of type 'fd_t' (aka 'int') can be declared 'const'
-src/tipc_connecter.cpp:57:5variable 'rc' of type 'int' can be declared 'const'
-src/tipc_connecter.cpp:102:5variable 'rc' of type 'int' can be declared 'const'
-src/tipc_connecter.cpp:129:5variable 'rc' of type 'int' can be declared 'const'
-src/tipc_connecter.cpp:143:5variable 'result' of type 'fd_t' (aka 'int') can be declared 'const'
-src/tipc_listener.cpp:40:5variable 'fd' of type 'fd_t' (aka 'int') can be declared 'const'
-src/tipc_listener.cpp:116:5variable 'err' of type 'int' can be declared 'const'
-src/tipc_listener.cpp:134:5variable 'sock' of type 'fd_t' (aka 'int') can be declared 'const'
-src/udp_engine.cpp:52:9variable 'rc' of type 'int' can be declared 'const'
-src/udp_engine.cpp:280:5variable 'rc' of type 'int' can be declared 'const'
-src/v1_decoder.cpp:18:5variable 'rc' of type 'int' can be declared 'const'
-src/v2_decoder.cpp:22:5variable 'rc' of type 'int' can be declared 'const'
-src/vsock_address.cpp:46:5variable 'addr_str' of type 'std::string' (aka 'basic_string<char>') can be declared 'const'
-src/vsock_address.cpp:47:5variable 'port_str' of type 'std::string' (aka 'basic_string<char>') can be declared 'const'
-src/vsock_address.cpp:65:9variable 'l' of type 'unsigned long' can be declared 'const'
-src/vsock_address.cpp:82:9variable 'l' of type 'unsigned long' can be declared 'const'
-src/vsock_connecter.cpp:191:5variable 'rc' of type 'int' can be declared 'const'
-src/vsock_listener.cpp:33:5variable 'fd' of type 'fd_t' (aka 'int') can be declared 'const'
-src/vsock_listener.cpp:66:5variable 'addr' of type 'std::string' (aka 'basic_string<char>') can be declared 'const'
-src/vsock_listener.cpp:96:5variable 'err' of type 'int' can be declared 'const'
-src/vsock_listener.cpp:108:5variable 'sock' of type 'fd_t' (aka 'int') can be declared 'const'
-src/vsock_listener.cpp:121:5variable 'rc' of type 'int' can be declared 'const'
-src/ws_decoder.cpp:26:5variable 'rc' of type 'int' can be declared 'const'
-src/ws_engine.cpp:432:25pointee of variable 'element' of type 'char *' can be declared 'const'
-src/ws_engine.cpp:452:29pointee of variable 'p' of type 'char *' can be declared 'const'
-src/ws_engine.cpp:919:5variable 'rc' of type 'int' can be declared 'const'
-src/ws_engine.cpp:948:5variable 'rc' of type 'int' can be declared 'const'
-src/ws_engine.cpp:964:5variable 'rc' of type 'int' can be declared 'const'
-src/ws_engine.cpp:980:9variable 'rc' of type 'int' can be declared 'const'
-src/ws_listener.cpp:226:5variable 'sock' of type 'fd_t' (aka 'int') can be declared 'const'
-src/ws_listener.cpp:259:9variable 'rc' of type 'int' can be declared 'const'
-src/xpub.cpp:246:63pointee of variable 'arg_' of type 'void *' can be declared 'const'
-src/xsub.cpp:103:9variable 'num_subscriptions' of type 'uint64_t' (aka 'unsigned long') can be declared 'const'
-src/zmq.cpp:183:62pointee of variable 'optvallen_' of type 'size_t *' (aka 'unsigned long *') can be declared 'const'
-src/zmq.cpp:366:5variable 'sz' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-src/zmq.cpp:373:5variable 'max_msgsz' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-src/zmq.cpp:440:28pointee of variable 'a_' of type 'iovec *' can be declared 'const'
-src/zmq.cpp:842:13pointee of variable 's' of type 'zmq::socket_base_t *' can be declared 'const'
-src/zmq.cpp:1139:28pointee of variable 'items_' of type 'zmq_pollitem_t *' (aka 'struct zmq_pollitem_t *') can be declared 'const'
-src/zmq.cpp:1193:29pointee of variable 'items_' of type 'zmq_pollitem_t *' (aka 'struct zmq_pollitem_t *') can be declared 'const'
-src/zmq.cpp:1396:9pointee of variable 'ptimeout' of type 'timespec *' can be declared 'const'
-src/zmq.cpp:1407:13variable 'rc' of type 'int' can be declared 'const'
-src/zmq_utils.cpp:140:5variable 'src_len' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-src/zmq_utils.cpp:190:24pointee of variable 'z85_public_key_' of type 'char *' can be declared 'const'
-src/zmq_utils.cpp:190:47pointee of variable 'z85_secret_key_' of type 'char *' can be declared 'const'
-src/zmq_utils.cpp:222:23pointee of variable 'z85_public_key_' of type 'char *' can be declared 'const'
-tests/test_abstract_ipc.cpp:36:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_address_tipc.cpp:35:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_address_tipc.cpp:55:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_address_tipc.cpp:58:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_bind_fuzzer.cpp:27:5variable 'my_endpoint' of type 'std::string' (aka 'basic_string<char>') can be declared 'const'
-tests/test_bind_null_fuzzer.cpp:23:5variable 'client' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/test_bind_stream_fuzzer.cpp:23:5variable 'client' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/test_bind_ws_fuzzer.cpp:28:5variable 'client' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/test_channel.cpp:41:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_client_server.cpp:21:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_client_server.cpp:60:9variable 'rc' of type 'int' can be declared 'const'
-tests/test_client_server.cpp:78:9variable 'rc' of type 'int' can be declared 'const'
-tests/test_client_server.cpp:86:9variable 'rc' of type 'int' can be declared 'const'
-tests/test_conflate.cpp:25:5variable 'message_count' of type 'int' can be declared 'const'
-tests/test_connect_delay_tipc.cpp:59:9variable 'rc' of type 'int' can be declared 'const'
-tests/test_connect_delay_tipc.cpp:126:9variable 'rc' of type 'int' can be declared 'const'
-tests/test_connect_fuzzer.cpp:16:5variable 'my_endpoint' of type 'std::string' (aka 'basic_string<char>') can be declared 'const'
-tests/test_connect_null_fuzzer.cpp:16:5variable 'server' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/test_connect_null_fuzzer.cpp:27:5variable 'server_accept' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/test_connect_resolve.cpp:36:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_connect_resolve.cpp:42:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_connect_resolve.cpp:48:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_connect_resolve.cpp:54:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_connect_resolve.cpp:60:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_connect_rid.cpp:190:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_connect_stream_fuzzer.cpp:16:5variable 'server' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/test_connect_stream_fuzzer.cpp:26:5variable 'server_accept' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/test_connect_ws_fuzzer.cpp:16:5variable 'server' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/test_connect_ws_fuzzer.cpp:27:5variable 'server_accept' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/test_ctx_destroy.cpp:19:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_ctx_destroy.cpp:84:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_ctx_destroy.cpp:101:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_ctx_destroy.cpp:109:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_ctx_destroy.cpp:116:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_ctx_destroy.cpp:123:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_ctx_destroy.cpp:136:18pointee of variable 'data_' of type 'void *' can be declared 'const'
-tests/test_ctx_destroy.cpp:154:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_ctx_options.cpp:57:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_ctx_options.cpp:60:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_ctx_options.cpp:98:5variable 'cpus_add' of type 'int[2]' can be declared 'const'
-tests/test_ctx_options.cpp:106:5variable 'cpus_remove' of type 'int[1]' can be declared 'const'
-tests/test_dgram.cpp:34:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_disconnect_inproc.cpp:37:9variable 'rc' of type 'int' can be declared 'const'
-tests/test_filter_ipc.cpp:26:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_filter_ipc.cpp:31:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_filter_ipc.cpp:44:13variable '_rc' of type 'int' can be declared 'const'
-tests/test_filter_ipc.cpp:89:5variable 'ngroups' of type 'int' can be declared 'const'
-tests/test_fork.cpp:25:5variable 'pid' of type 'int' can be declared 'const'
-tests/test_fork.cpp:39:9variable 'rc' of type 'int' can be declared 'const'
-tests/test_fork.cpp:56:13variable 'rc' of type 'int' can be declared 'const'
-tests/test_heartbeats.cpp:47:9variable 'event' of type 'uint16_t' (aka 'unsigned short') can be declared 'const'
-tests/test_heartbeats.cpp:65:9variable 'rc' of type 'int' can be declared 'const'
-tests/test_heartbeats.cpp:207:5variable 's' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/test_heartbeats.cpp:375:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_hwm.cpp:194:5variable 'count' of type 'int' can be declared 'const'
-tests/test_hwm.cpp:200:5variable 'count' of type 'int' can be declared 'const'
-tests/test_hwm.cpp:206:5variable 'count' of type 'int' can be declared 'const'
-tests/test_hwm.cpp:212:5variable 'count' of type 'int' can be declared 'const'
-tests/test_hwm.cpp:218:5variable 'count' of type 'int' can be declared 'const'
-tests/test_hwm.cpp:224:5variable 'count' of type 'int' can be declared 'const'
-tests/test_hwm.cpp:231:5variable 'count' of type 'int' can be declared 'const'
-tests/test_hwm.cpp:237:5variable 'count' of type 'int' can be declared 'const'
-tests/test_hwm.cpp:244:5variable 'count' of type 'int' can be declared 'const'
-tests/test_hwm_pubsub.cpp:123:13variable '_rc' of type 'int' can be declared 'const'
-tests/test_immediate.cpp:13:5variable 'len' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-tests/test_immediate.cpp:84:5variable 'len' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-tests/test_immediate.cpp:120:9variable 'rc' of type 'int' can be declared 'const'
-tests/test_immediate.cpp:151:5variable 'len' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-tests/test_immediate.cpp:170:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_inproc_connect.cpp:23:26pointee of variable 'endpt_' of type 'void *' can be declared 'const'
-tests/test_inproc_connect.cpp:38:26pointee of variable 'endpt_' of type 'void *' can be declared 'const'
-tests/test_iov.cpp:52:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_iov.cpp:55:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_iov.cpp:57:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_iov.cpp:74:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_iov.cpp:77:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_iov.cpp:79:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_iov.cpp:82:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_issue_566.cpp:49:13variable 'rc' of type 'int' can be declared 'const'
-tests/test_mock_pub_sub.cpp:28:9variable 'event' of type 'uint16_t' (aka 'unsigned short') can be declared 'const'
-tests/test_mock_pub_sub.cpp:46:9variable 'rc' of type 'int' can be declared 'const'
-tests/test_mock_pub_sub.cpp:127:5variable 's' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/test_monitor.cpp:18:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_monitor.cpp:24:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_monitor.cpp:25:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_monitor.cpp:113:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_monitor.cpp:299:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_monitor.cpp:373:9variable 'event' of type 'int64_t' (aka 'long') can be declared 'const'
-tests/test_msg_ffn.cpp:10:11pointee of variable 'data_' of type 'void *' can be declared 'const'
-tests/test_pair_ipc.cpp:39:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_pair_vsock.cpp:23:5variable 'endpoint' of type 'std::string' (aka 'basic_string<char>') can be declared 'const'
-tests/test_pair_vsock.cpp:26:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_peer.cpp:10:5variable 'len' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-tests/test_peer.cpp:17:5variable 'peer1_routing_id' of type 'uint32_t' (aka 'unsigned int') can be declared 'const'
-tests/test_peer.cpp:30:9variable 'rc' of type 'int' can be declared 'const'
-tests/test_peer.cpp:39:9variable 'rc' of type 'int' can be declared 'const'
-tests/test_peer.cpp:58:9variable 'rc' of type 'int' can be declared 'const'
-tests/test_peer.cpp:66:9variable 'rc' of type 'int' can be declared 'const'
-tests/test_peer.cpp:69:9variable 'routing_id' of type 'uint32_t' (aka 'unsigned int') can be declared 'const'
-tests/test_peer_disconnect.cpp:12:5variable 'len' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-tests/test_peer_disconnect.cpp:21:5variable 'peer1_routing_id' of type 'uint32_t' (aka 'unsigned int') can be declared 'const'
-tests/test_peer_disconnect.cpp:31:9variable 'rc' of type 'int' can be declared 'const'
-tests/test_peer_disconnect.cpp:40:9variable 'rc' of type 'int' can be declared 'const'
-tests/test_peer_disconnect.cpp:58:9variable 'rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:27:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:33:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:38:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:44:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:50:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:59:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:67:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:76:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:84:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:92:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:102:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:112:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:121:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:131:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:140:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:149:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:156:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:163:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:170:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:178:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:186:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:194:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:197:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:200:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:202:5variable 'null_socket_fd' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/test_poller.cpp:204:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:207:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:210:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:262:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:289:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:294:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:298:62pointee of variable 'poller_' of type 'void *' can be declared 'const'
-tests/test_poller.cpp:338:5variable 'plain_socket' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/test_poller.cpp:363:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:372:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:378:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:401:5variable 'plain_socket' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/test_poller.cpp:406:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:417:5variable 'plain_socket' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/test_poller.cpp:420:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:429:5variable 'plain_socket' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/test_poller.cpp:432:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:440:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:450:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:457:5variable 'plain_socket' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/test_poller.cpp:458:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:467:5variable 'plain_socket' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/test_poller.cpp:470:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:504:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:512:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:519:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:527:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:536:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:545:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:547:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:569:5variable 'len' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-tests/test_poller.cpp:594:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_poller.cpp:610:5variable 'len' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-tests/test_poller.cpp:645:5variable 'len' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-tests/test_proxy.cpp:45:26pointee of variable 'db_' of type 'void *' can be declared 'const'
-tests/test_proxy.cpp:98:17variable 'rc' of type 'int' can be declared 'const'
-tests/test_proxy.cpp:112:17variable 'rc' of type 'int' can be declared 'const'
-tests/test_proxy.cpp:266:17variable 'replies' of type 'int' can be declared 'const'
-tests/test_proxy_hwm.cpp:57:36pointee of variable 'pvoid_' of type 'void *' can be declared 'const'
-tests/test_proxy_hwm.cpp:113:37pointee of variable 'pvoid_' of type 'void *' can be declared 'const'
-tests/test_proxy_hwm.cpp:130:5variable 'success' of type 'bool' can be declared 'const'
-tests/test_proxy_hwm.cpp:168:44pointee of variable 'pvoid_' of type 'void *' can be declared 'const'
-tests/test_proxy_hwm.cpp:213:32pointee of variable 'pvoid_' of type 'void *' can be declared 'const'
-tests/test_proxy_hwm.cpp:311:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_proxy_steerable.cpp:52:26pointee of variable 'db_' of type 'void *' can be declared 'const'
-tests/test_proxy_steerable.cpp:107:17variable 'rc' of type 'int' can be declared 'const'
-tests/test_proxy_steerable.cpp:121:17variable 'rc' of type 'int' can be declared 'const'
-tests/test_proxy_steerable.cpp:221:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_proxy_steerable.cpp:269:13variable 'rc' of type 'int' can be declared 'const'
-tests/test_proxy_steerable.cpp:296:17variable 'replies' of type 'int' can be declared 'const'
-tests/test_proxy_steerable.cpp:346:5variable 'val' of type 'uint64_t' (aka 'unsigned long') can be declared 'const'
-tests/test_proxy_steerable.cpp:362:9variable 'val' of type 'uint64_t' (aka 'unsigned long') can be declared 'const'
-tests/test_proxy_steerable.cpp:466:5variable 'bytes' of type 'uint64_t' (aka 'unsigned long') can be declared 'const'
-tests/test_pub_invert_matching.cpp:40:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_pub_invert_matching.cpp:49:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_pub_invert_matching.cpp:69:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_pub_invert_matching.cpp:78:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_radio_dish.cpp:42:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_radio_dish.cpp:55:5variable 'recv_rc' of type 'int' can be declared 'const'
-tests/test_radio_dish.cpp:70:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_radio_dish.cpp:77:5variable 'len' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-tests/test_radio_dish.cpp:113:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_radio_dish.cpp:125:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_radio_dish.cpp:132:5variable 'len' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-tests/test_radio_dish.cpp:187:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_radio_dish.cpp:209:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_radio_dish.cpp:224:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_radio_dish.cpp:285:5variable 'family' of type 'int' can be declared 'const'
-tests/test_radio_dish.cpp:288:5variable 'port' of type 'int' can be declared 'const'
-tests/test_radio_dish.cpp:507:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_reconnect_options.cpp:49:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_reqrep_tcp.cpp:12:5variable 'len' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-tests/test_reqrep_tcp.cpp:52:5variable 'len' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-tests/test_reqrep_tcp.cpp:101:5variable 'len' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-tests/test_reqrep_vsock.cpp:40:5variable 'endpoint' of type 'std::string' (aka 'basic_string<char>') can be declared 'const'
-tests/test_reqrep_vsock.cpp:43:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_reqrep_vsock.cpp:65:5variable 'endpoint' of type 'std::string' (aka 'basic_string<char>') can be declared 'const'
-tests/test_reqrep_vsock.cpp:68:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_reqrep_vsock.cpp:97:5variable 'endpoint_bind' of type 'std::string' (aka 'basic_string<char>') can be declared 'const'
-tests/test_reqrep_vsock.cpp:101:5variable 'endpoint_connect' of type 'std::string' (aka 'basic_string<char>') can be declared 'const'
-tests/test_reqrep_vsock.cpp:104:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_router_handover.cpp:54:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_router_handover.cpp:100:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_router_handover.cpp:111:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_router_mandatory.cpp:13:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_router_mandatory.cpp:174:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_router_mandatory_tipc.cpp:32:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_router_notify.cpp:72:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_router_notify.cpp:77:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_router_notify.cpp:97:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_router_notify.cpp:225:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_scatter_gather.cpp:20:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_security_gssapi.cpp:259:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_security_gssapi.cpp:282:5variable 'event' of type 'int' can be declared 'const'
-tests/test_security_gssapi.cpp:305:5variable 'event' of type 'int' can be declared 'const'
-tests/test_security_gssapi.cpp:319:5variable 'event' of type 'int' can be declared 'const'
-tests/test_security_gssapi.cpp:341:5variable 's' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/test_security_gssapi.cpp:348:5pointee of variable 'buf' of type 'char *' can be declared 'const'
-tests/test_security_null.cpp:145:5variable 's' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/test_security_null.cpp:153:5pointee of variable 'buf' of type 'char *' can be declared 'const'
-tests/test_security_plain.cpp:159:5variable 's' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/test_security_plain.cpp:166:5pointee of variable 'buf' of type 'char *' can be declared 'const'
-tests/test_security_zap.cpp:87:5variable 'server_events_received' of type 'int' can be declared 'const'
-tests/test_shutdown_stress.cpp:22:21pointee of variable 'data_' of type 'void *' can be declared 'const'
-tests/test_socket_null.cpp:24:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_socket_null.cpp:32:5variable 'hwm_size' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-tests/test_socket_null.cpp:33:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_socket_null.cpp:42:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_socket_null.cpp:49:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_socket_null.cpp:57:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_socket_null.cpp:64:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_socket_null.cpp:73:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_socket_null.cpp:80:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_socket_null.cpp:87:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_socket_null.cpp:94:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_sockopt_hwm.cpp:93:5variable 'send_count' of type 'int' can be declared 'const'
-tests/test_sockopt_hwm.cpp:123:5variable 'send_count' of type 'int' can be declared 'const'
-tests/test_socks.cpp:51:28pointee of variable 'buffer' of type 'char *' can be declared 'const'
-tests/test_socks.cpp:82:5variable 'server_fd' of type 'int' can be declared 'const'
-tests/test_socks.cpp:91:25pointee of variable 'socks_server' of type 'void *' can be declared 'const'
-tests/test_socks.cpp:96:5variable 'server_fd' of type 'int' can be declared 'const'
-tests/test_socks.cpp:127:13variable 'nmethods' of type 'int' can be declared 'const'
-tests/test_socks.cpp:202:13variable 'request_atype' of type 'int' can be declared 'const'
-tests/test_socks.cpp:314:21variable 'read_fd' of type 'int' can be declared 'const'
-tests/test_socks.cpp:802:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_sodium.cpp:26:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_sodium.cpp:45:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_sodium.cpp:62:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_spec_dealer.cpp:124:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_spec_dealer.cpp:126:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_spec_dealer.cpp:131:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_spec_dealer.cpp:133:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_spec_dealer.cpp:151:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_spec_dealer.cpp:152:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_spec_pushpull.cpp:136:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_spec_pushpull.cpp:137:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_spec_pushpull.cpp:171:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_spec_pushpull.cpp:186:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_spec_pushpull.cpp:189:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_spec_pushpull.cpp:195:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_spec_pushpull.cpp:201:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_spec_req.cpp:156:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_spec_req.cpp:157:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_spec_router.cpp:122:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_spec_router.cpp:125:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_spec_router.cpp:130:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_spec_router.cpp:132:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_srcfd.cpp:45:5variable 'src_fd' of type 'int' can be declared 'const'
-tests/test_stream_disconnect.cpp:31:5variable 'rc' of type 'int' can be declared 'const'
-tests/test_stream_exceeds_buffer.cpp:17:5variable 'server_sock' of type 'int' can be declared 'const'
-tests/test_stream_exceeds_buffer.cpp:22:5variable 'client_sock' of type 'int' can be declared 'const'
-tests/test_tcp_accept_filter.cpp:51:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_term_endpoint.cpp:42:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_term_endpoint.cpp:70:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_term_endpoint.cpp:139:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_term_endpoint.cpp:141:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_term_endpoint_tipc.cpp:34:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_term_endpoint_tipc.cpp:63:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_timeo.cpp:15:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_timeo.cpp:26:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_timeo.cpp:27:5variable 'elapsed' of type 'unsigned int' can be declared 'const'
-tests/test_timers.cpp:38:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_timers.cpp:48:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_timers.cpp:50:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_timers.cpp:53:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_timers.cpp:55:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_timers.cpp:58:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_timers.cpp:60:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_timers.cpp:64:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_timers.cpp:66:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_timers.cpp:69:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_timers.cpp:70:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_timers.cpp:72:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_timers.cpp:73:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_timers.cpp:85:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_timers.cpp:89:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_timers.cpp:93:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_timers.cpp:97:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_timers.cpp:107:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_timers.cpp:110:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_xpub_manual.cpp:229:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_xpub_manual.cpp:371:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_xpub_manual.cpp:405:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_xpub_manual_last_value.cpp:235:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_xpub_manual_last_value.cpp:378:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_xpub_manual_last_value.cpp:412:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_xpub_manual_last_value.cpp:465:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_xpub_nodrop.cpp:45:9variable 'rc' of type 'int' can be declared 'const'
-tests/test_xpub_verbose.cpp:40:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_xpub_verbose.cpp:90:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_xpub_verbose.cpp:147:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_xpub_verbose.cpp:159:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_xpub_verbose.cpp:174:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_xpub_verbose.cpp:181:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_xpub_verbose.cpp:211:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_xpub_verbose.cpp:229:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_xpub_verbose.cpp:239:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_xpub_verbose.cpp:284:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_xsub_verbose.cpp:30:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_xsub_verbose.cpp:48:5variable '_rc' of type 'int' can be declared 'const'
-tests/test_zmq_poll_fd.cpp:35:5variable 'send_socket' of type 'int' can be declared 'const'
-tests/test_zmq_ppoll_fd.cpp:36:5variable 'send_socket' of type 'int' can be declared 'const'
-tests/test_zmq_ppoll_signals.cpp:49:5variable 'len' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-tests/test_zmq_ppoll_signals.cpp:137:9variable '_rc' of type 'int' can be declared 'const'
-tests/testutil.cpp:110:5variable '_rc' of type 'int' can be declared 'const'
-tests/testutil.cpp:149:9variable 'end' of type 'bool' can be declared 'const'
-tests/testutil.cpp:185:9variable 'end' of type 'bool' can be declared 'const'
-tests/testutil.cpp:202:5variable 'rc' of type 'int' can be declared 'const'
-tests/testutil.cpp:254:5variable 'fd' of type 'fd_t' (aka 'int') can be declared 'const'
-tests/testutil.cpp:601:9variable 'file_len' of type 'size_t' (aka 'unsigned long') can be declared 'const'
-tests/testutil_monitoring.cpp:43:9variable '_rc' of type 'int' can be declared 'const'
-tests/testutil_monitoring.cpp:49:5variable 'event' of type 'uint16_t' (aka 'unsigned short') can be declared 'const'
-tests/testutil_monitoring.cpp:134:5variable 'timeout' of type 'int' can be declared 'const'
-tests/testutil_monitoring.cpp:192:9variable '_rc' of type 'int' can be declared 'const'
-tests/testutil_monitoring.cpp:205:9variable '_rc' of type 'int' can be declared 'const'
-tests/testutil_monitoring.cpp:225:13variable '_rc' of type 'int' can be declared 'const'
-tests/testutil_monitoring.cpp:296:5variable 'event' of type 'int64_t' (aka 'long') can be declared 'const'
-tests/testutil_security.cpp:9:33pointee of variable 'server_' of type 'void *' can be declared 'const'
-tests/testutil_security.cpp:9:48pointee of variable 'server_secret_' of type 'void *' can be declared 'const'
-tests/testutil_security.cpp:31:49pointee of variable 'server_secret_' of type 'void *' can be declared 'const'
-tests/testutil_security.cpp:41:49pointee of variable 'server_secret_' of type 'void *' can be declared 'const'
-tests/testutil_security.cpp:66:49pointee of variable 'server_secret_' of type 'void *' can be declared 'const'
-tests/testutil_security.cpp:83:49pointee of variable 'data_' of type 'void *' can be declared 'const'
-tests/testutil_security.cpp:338:34pointee of variable 'my_endpoint_' of type 'char *' can be declared 'const'
-tests/testutil_unity.cpp:38:9variable 'current_errno' of type 'int' can be declared 'const'
-tests/testutil_unity.cpp:79:9variable 'current_errno' of type 'int' can be declared 'const'
-tests/testutil_unity.cpp:218:5variable 'rc' of type 'int' can be declared 'const'
-unittests/../unittests/unittest_resolver_common.hpp:42:9variable 'neq' of type 'int' can be declared 'const'
-unittests/unittest_curve_encoding.cpp:26:22pointee of variable 'msg_' of type 'zmq::msg_t *' can be declared 'const'
-unittests/unittest_ip_resolver.cpp:52:9variable 'lut_len' of type 'unsigned int' can be declared 'const'
-unittests/unittest_ip_resolver.cpp:57:9variable 'ipv6' of type 'bool' can be declared 'const'
-unittests/unittest_ip_resolver.cpp:58:9variable 'no_dns' of type 'bool' can be declared 'const'
-unittests/unittest_ip_resolver.cpp:99:9variable 'lut_len' of type 'unsigned int' can be declared 'const'
-unittests/unittest_ip_resolver.cpp:129:5variable 'family' of type 'int' can be declared 'const'
-unittests/unittest_ip_resolver.cpp:141:5variable 'rc' of type 'int' can be declared 'const'
-unittests/unittest_ip_resolver.cpp:235:5variable 'resolver_opts' of type 'zmq::ip_resolver_options_t' can be declared 'const'
-unittests/unittest_ip_resolver.cpp:242:5variable 'resolver_opts' of type 'zmq::ip_resolver_options_t' can be declared 'const'
-unittests/unittest_ip_resolver.cpp:249:5variable 'resolver_opts' of type 'zmq::ip_resolver_options_t' can be declared 'const'
-unittests/unittest_ip_resolver.cpp:256:5variable 'resolver_opts' of type 'zmq::ip_resolver_options_t' can be declared 'const'
-unittests/unittest_ip_resolver.cpp:264:5variable 'resolver_opts' of type 'zmq::ip_resolver_options_t' can be declared 'const'
-unittests/unittest_ip_resolver.cpp:271:5variable 'resolver_opts' of type 'zmq::ip_resolver_options_t' can be declared 'const'
-unittests/unittest_ip_resolver.cpp:278:5variable 'resolver_opts' of type 'zmq::ip_resolver_options_t' can be declared 'const'
-unittests/unittest_ip_resolver.cpp:285:5variable 'resolver_opts' of type 'zmq::ip_resolver_options_t' can be declared 'const'
-unittests/unittest_ip_resolver.cpp:293:5variable 'resolver_opts' of type 'zmq::ip_resolver_options_t' can be declared 'const'
-unittests/unittest_ip_resolver.cpp:301:5variable 'resolver_opts' of type 'zmq::ip_resolver_options_t' can be declared 'const'
-unittests/unittest_mtrie.cpp:27:5variable 'mtrie' of type 'zmq::generic_mtrie_t<int>' can be declared 'const'
-unittests/unittest_mtrie.cpp:30:19pointee of variable 'pipe_' of type 'int *' can be declared 'const'
-unittests/unittest_mtrie.cpp:64:5variable 'res' of type 'bool' can be declared 'const'
-unittests/unittest_mtrie.cpp:148:5variable 'res' of type 'zmq::generic_mtrie_t<int>::rm_result' can be declared 'const'
-unittests/unittest_mtrie.cpp:163:5variable 'res' of type 'zmq::generic_mtrie_t<int>::rm_result' can be declared 'const'
-unittests/unittest_mtrie.cpp:175:5variable 'res' of type 'zmq::generic_mtrie_t<int>::rm_result' can be declared 'const'
-unittests/unittest_mtrie.cpp:197:5variable 'res' of type 'zmq::generic_mtrie_t<int>::rm_result' can be declared 'const'
-unittests/unittest_mtrie.cpp:242:33pointee of variable 'names_' of type 'const char **' can be declared 'const'
-unittests/unittest_mtrie.cpp:248:5variable 'res' of type 'bool' can be declared 'const'
-unittests/unittest_mtrie.cpp:267:5variable 'res' of type 'zmq::generic_mtrie_t<int>::rm_result' can be declared 'const'
-unittests/unittest_mtrie.cpp:332:9variable 'res' of type 'zmq::generic_mtrie_t<int>::rm_result' can be declared 'const'
-unittests/unittest_poller.cpp:25:5variable 'thread_ctx' of type 'zmq::thread_ctx_t' can be declared 'const'
-unittests/unittest_poller.cpp:26:5variable 'poller' of type 'zmq::poller_t' (aka 'epoll_t') can be declared 'const'
-unittests/unittest_poller.cpp:85:22variable 'events_' of type 'test_events_t &' can be declared 'const'
-unittests/unittest_poller.cpp:99:25variable 'events_' of type 'test_events_t &' can be declared 'const'
-unittests/unittest_poller.cpp:115:5variable 'rc' of type 'int' can be declared 'const'
-unittests/unittest_poller.cpp:127:5variable 'sz' of type 'ssize_t' (aka 'long') can be declared 'const'
-unittests/unittest_poller.cpp:140:5variable 'rc' of type 'int' can be declared 'const'
-unittests/unittest_poller.cpp:152:5variable 'thread_ctx' of type 'zmq::thread_ctx_t' can be declared 'const'
-unittests/unittest_poller.cpp:178:5variable 'thread_ctx' of type 'zmq::thread_ctx_t' can be declared 'const'
-unittests/unittest_radix_tree.cpp:41:5variable 'tree' of type 'zmq::radix_tree_t' can be declared 'const'
-unittests/unittest_radix_tree.cpp:208:18pointee of variable 'data_' of type 'unsigned char *' can be declared 'const'
-unittests/unittest_udp_address.cpp:34:5variable 'rc' of type 'int' can be declared 'const'
-unittests/unittest_udp_address.cpp:203:5variable 'rc' of type 'int' can be declared 'const'
-unittests/unittest_udp_address.cpp:235:5variable 'rc' of type 'int' can be declared 'const'
-unittests/unittest_ypipe.cpp:18:5variable 'ypipe' of type 'zmq::ypipe_t<int, 1>' can be declared 'const'

Generated from 3ddf6fa37f.