Hi folks I'm admittedly using a very picky compiler, but the warnings I've checked so far are all correct - there are a *lot* of set-but-unused variables in the 1.7.3 code base (and in the trunk as well). I'll tackle the opal and orte ones - can folks please help with the ompi layer?
cmd_line.c: In function 'opal_cmd_line_parse': cmd_line.c:269:10: warning: variable 'has_unknowns' set but not used [-Wunused-but-set-variable] printf.c: In function 'guess_strlen': printf.c:43:17: warning: variable 'carg' set but not used [-Wunused-but-set-variable] show_help_lex.c:1181:16: warning: 'input' defined but not used [-Wunused-function] mca_base_var.c: In function 'mca_base_var_dump': mca_base_var.c:1757:17: warning: variable 'project' set but not used [-Wunused-but-set-variable] mca_base_var_enum.c: In function 'enum_dump': mca_base_var_enum.c:133:12: warning: variable 'len' set but not used [-Wunused-but-set-variable] base/hwloc_base_util.c: In function 'opal_hwloc_base_get_obj_by_type': base/hwloc_base_util.c:872:18: warning: variable 'num_objs' set but not used [-Wunused-but-set-variable] evutil_rand.c: In function 'ev_arc4random_buf': evutil_rand.c:73:21: warning: the comparison will always evaluate as 'true' for the address of 'arc4random_buf' will never be NULL [-Waddress] if_posix.c: In function 'if_posix_open': if_posix.c:69:18: warning: variable 'num' set but not used [-Wunused-but-set-variable] class/opal_tree.c: In function 'opal_tree_dup_item': class/opal_tree.c:569:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] class/opal_tree.c: In function 'opal_tree_find_with': class/opal_tree.c:673:23: warning: variable 'root' set but not used [-Wunused-but-set-variable] class/opal_graph.c: In function 'opal_graph_add_edge': class/opal_graph.c:281:60: warning: variable 'end_aj_list' set but not used [-Wunused-but-set-variable] runtime/opal_cr.c: In function 'opal_cr_refresh_environ': runtime/opal_cr.c:920:9: warning: variable 'val' set but not used [-Wunused-but-set-variable] base/odls_base_default_fns.c: In function 'orte_odls_base_default_launch_local': base/odls_base_default_fns.c:1044:20: warning: variable 'alert' set but not used [-Wunused-but-set-variable] base/rmaps_base_ranking.c: In function 'rank_span': base/rmaps_base_ranking.c:57:21: warning: variable 'map' set but not used [-Wunused-but-set-variable] base/rmaps_base_ranking.c: In function 'rank_fill': base/rmaps_base_ranking.c:175:21: warning: variable 'map' set but not used [-Wunused-but-set-variable] base/rmaps_base_ranking.c: In function 'rank_by': base/rmaps_base_ranking.c:281:21: warning: variable 'map' set but not used [-Wunused-but-set-variable] base/rml_base_frame.c: In function 'orte_rml_base_select': base/rml_base_frame.c:112:24: warning: variable 'wrapper_module' set but not used [-Wunused-but-set-variable] base/rml_base_frame.c:110:9: warning: variable 'wrapper_priority' set but not used [-Wunused-but-set-variable] base/snapc_base_fns.c: In function 'snapc_none_global_cmdline_request': base/snapc_base_fns.c:360:14: warning: variable 'exit_status' set but not used [-Wunused-but-set-variable] runtime/orte_quit.c: In function 'dump_aborted_procs': runtime/orte_quit.c:151:25: warning: variable 'app' set but not used [-Wunused-but-set-variable] util/hostfile/hostfile_lex.c:1653:16: warning: 'input' defined but not used [-Wunused-function] util/dash_host/dash_host.c: In function 'orte_util_filter_dash_host_nodes': util/dash_host/dash_host.c:238:10: warning: variable 'found' set but not used [-Wunused-but-set-variable] util/regex.c: In function 'regex_parse_node_range': util/regex.c:521:23: warning: variable 'str_end' set but not used [-Wunused-but-set-variable] util/regex.c:521:12: warning: variable 'str_start' set but not used [-Wunused-but-set-variable] orted/orted_main.c: In function 'orte_daemon': orted/orted_main.c:244:11: warning: variable 'tmp_env_var' set but not used [-Wunused-but-set-variable] errmgr_default_orted.c: In function 'proc_errors': errmgr_default_orted.c:216:18: warning: variable 'pptr' set but not used [-Wunused-but-set-variable] odls_default_module.c: In function 'send_error_show_help': odls_default_module.c:369:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] oob_tcp.c: In function 'mca_oob_tcp_init': oob_tcp.c:1800:18: warning: variable 'jobid' set but not used [-Wunused-but-set-variable] oob_tcp_peer.c: In function 'mca_oob_tcp_peer_lookup': oob_tcp_peer.c:225:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] oob_tcp_peer.c: In function 'mca_oob_tcp_peer_recv_handler': oob_tcp_peer.c:910:21: warning: variable 'rc' set but not used [-Wunused-but-set-variable] rmaps_resilient.c: In function 'map_to_ftgrps': rmaps_resilient.c:691:18: warning: variable 'proc' set but not used [-Wunused-but-set-variable] rmaps_lama_module.c: In function 'orte_rmaps_lama_map_core': rmaps_lama_module.c:585:20: warning: variable 'num_nodes' set but not used [-Wunused-but-set-variable] rmaps_lama_max_tree.c: In function 'rmaps_lama_find_nth_subtree_match': rmaps_lama_max_tree.c:866:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] rmaps_rank_file.c: In function 'orte_rmaps_rf_map': rmaps_rank_file.c:75:21: warning: variable 'num_nodes' set but not used [-Wunused-but-set-variable] rmaps_rank_file.c: In function 'orte_rmaps_rank_file_parse': rmaps_rank_file.c:358:11: warning: variable 'username' set but not used [-Wunused-but-set-variable] rmaps_rank_file_lex.c:1408:16: warning: 'input' defined but not used [-Wunused-function] rmaps_rr.c: In function 'orte_rmaps_rr_map': rmaps_rr.c:51:21: warning: variable 'num_nodes' set but not used [-Wunused-but-set-variable] rmaps_rr_mappers.c: In function 'orte_rmaps_rr_byobj': rmaps_rr_mappers.c:428:10: warning: variable 'oversubscribed' set but not used [-Wunused-but-set-variable] routed_binomial.c: In function 'binomial_tree': routed_binomial.c:843:25: warning: variable 'proc_name' set but not used [-Wunused-but-set-variable] orte-clean.c: In function 'main': orte-clean.c:128:11: warning: variable 'tmp_env_var' set but not used [-Wunused-but-set-variable] orte-ps.c: In function 'orte_ps_init': orte-ps.c:370:12: warning: variable 'tmp_env_var' set but not used [-Wunused-but-set-variable] orte-ps.c: In function 'pretty_print_jobs': orte-ps.c:536:12: warning: variable 'state_str' set but not used [-Wunused-but-set-variable] orte-ps.c: In function 'pretty_print_vpids': orte-ps.c:645:11: warning: variable 'state_str' set but not used [-Wunused-but-set-variable] orterun.c: In function 'orterun': orterun.c:551:11: warning: variable 'tmp_env_var' set but not used [-Wunused-but-set-variable] orte-server.c: In function 'main': orte-server.c:111:12: warning: variable 'tmp_env_var' set but not used [-Wunused-but-set-variable] In file included from pimprobe.c:18:0: ../../../../ompi/message/message.h: In function 'ompi_message_alloc': ../../../../ompi/message/message.h:59:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from pimrecv.c:18:0: ../../../../ompi/message/message.h: In function 'ompi_message_alloc': ../../../../ompi/message/message.h:59:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from pmessage_f2c.c:26:0: ../../../../ompi/message/message.h: In function 'ompi_message_alloc': ../../../../ompi/message/message.h:59:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from pmessage_c2f.c:27:0: ../../../../ompi/message/message.h: In function 'ompi_message_alloc': ../../../../ompi/message/message.h:59:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from pmprobe.c:19:0: ../../../../ompi/message/message.h: In function 'ompi_message_alloc': ../../../../ompi/message/message.h:59:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from pmrecv.c:18:0: ../../../../ompi/message/message.h: In function 'ompi_message_alloc': ../../../../ompi/message/message.h:59:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from improbe.c:18:0: ../../../ompi/message/message.h: In function 'ompi_message_alloc': ../../../ompi/message/message.h:59:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from imrecv.c:18:0: ../../../ompi/message/message.h: In function 'ompi_message_alloc': ../../../ompi/message/message.h:59:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from message_f2c.c:26:0: ../../../ompi/message/message.h: In function 'ompi_message_alloc': ../../../ompi/message/message.h:59:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from message_c2f.c:27:0: ../../../ompi/message/message.h: In function 'ompi_message_alloc': ../../../ompi/message/message.h:59:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from mprobe.c:19:0: ../../../ompi/message/message.h: In function 'ompi_message_alloc': ../../../ompi/message/message.h:59:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from mrecv.c:18:0: ../../../ompi/message/message.h: In function 'ompi_message_alloc': ../../../ompi/message/message.h:59:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] base/bcol_base_frame.c: In function 'mca_bcol_base_fn_table_destroy': base/bcol_base_frame.c:272:22: warning: variable 'tmp_list' set but not used [-Wunused-but-set-variable] In file included from message/message.c:16:0: ../ompi/message/message.h: In function 'ompi_message_alloc': ../ompi/message/message.h:59:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from runtime/ompi_mpi_init.c:61:0: ../ompi/message/message.h: In function 'ompi_message_alloc': ../ompi/message/message.h:59:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from runtime/ompi_mpi_finalize.c:55:0: ../ompi/message/message.h: In function 'ompi_message_alloc': ../ompi/message/message.h:59:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] runtime/ompi_cr.c: In function 'notify_collectives': runtime/ompi_cr.c:119:17: warning: variable 'ret' set but not used [-Wunused-but-set-variable] bcol_basesmuma_rd_nb_barrier.c: In function 'bcol_basesmuma_rd_nb_barrier_init_admin': bcol_basesmuma_rd_nb_barrier.c:39:30: warning: variable 'pow_2' set but not used [-Wunused-but-set-variable] bcol_basesmuma_rd_nb_barrier.c: In function 'bcol_basesmuma_rd_nb_barrier_progress_admin': bcol_basesmuma_rd_nb_barrier.c:209:30: warning: variable 'pow_2' set but not used [-Wunused-but-set-variable] bcol_basesmuma_bcast_prime.c: In function 'bcol_basesmuma_bcast_k_nomial_anyroot': bcol_basesmuma_bcast_prime.c:267:20: warning: variable 'my_data_pointer' set but not used [-Wunused-but-set-variable] bcol_basesmuma_bcast_prime.c:257:9: warning: variable 'pow_k_levels' set but not used [-Wunused-but-set-variable] btl_self.c: In function 'mca_btl_self_alloc': btl_self.c:129:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] btl_self.c: In function 'mca_btl_self_prepare_dst': btl_self.c:259:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] btl_sm.c: In function 'mca_btl_sm_alloc': btl_sm.c:626:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] btl_sm_component.c: In function 'mca_btl_sm_component_progress': btl_sm_component.c:619:27: warning: variable 'rc' set but not used [-Wunused-but-set-variable] btl_tcp.c: In function 'mca_btl_tcp_alloc': btl_tcp.c:177:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] btl_tcp.c: In function 'mca_btl_tcp_prepare_dst': btl_tcp.c:329:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] btl_tcp_endpoint.c: In function 'mca_btl_tcp_endpoint_recv_handler': btl_tcp_endpoint.c:709:21: warning: variable 'rc' set but not used [-Wunused-but-set-variable] coll_inter.c: In function 'mca_coll_inter_module_enable': coll_inter_allreduce.c: In function 'mca_coll_inter_allreduce_inter':coll_inter.c:147:15: warning: variable 'rank' set but not used [-Wunused-but-set-variable] coll_inter.c:147:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] coll_inter_allreduce.c:47:30: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] coll_inter_bcast.c: In function 'mca_coll_inter_bcast_inter': coll_inter_bcast.c:44:9: warning: variable 'rsize' set but not used [-Wunused-but-set-variable] coll_inter_reduce.c: In function 'mca_coll_inter_reduce_inter': coll_inter_reduce.c:46:20: warning: variable 'size' set but not used [-Wunused-but-set-variable] In file included from coll_ml_allocation.c:18:0: coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_dag': coll_ml_inlines.h:470:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from coll_ml_module.c:43:0: coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_dag': coll_ml_inlines.h:470:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_seq': coll_ml_inlines.h:533:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_seq': coll_ml_inlines.h:533:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] coll_ml_module.c: In function 'ml_init_k_nomial_trees': coll_ml_module.c:627:10: warning: variable 'list' set but not used [-Wunused-but-set-variable] coll_ml_module.c: In function 'mca_coll_ml_tree_hierarchy_discovery': coll_ml_module.c:1942:44: warning: variable 'bcol_component' set but not used [-Wunused-but-set-variable] coll_ml_module.c: In function 'mca_coll_ml_fill_in_route_tab': coll_ml_module.c:2705:26: warning: variable 'ompi_procs' set but not used [-Wunused-but-set-variable] coll_ml_module.c: In function 'mca_coll_ml_comm_query': coll_ml_module.c:3263:24: warning: variable 'tic' set but not used [-Wunused-but-set-variable] In file included from coll_ml_barrier.c:21:0: ../../../../ompi/mca/coll/ml/coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_dag': ../../../../ompi/mca/coll/ml/coll_ml_inlines.h:470:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] ../../../../ompi/mca/coll/ml/coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_seq': ../../../../ompi/mca/coll/ml/coll_ml_inlines.h:533:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] coll_ml_barrier.c: In function 'mca_coll_ml_barrier_launch': coll_ml_barrier.c:35:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from coll_ml_bcast.c:26:0: coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_dag': coll_ml_inlines.h:470:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_seq': coll_ml_inlines.h:533:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from coll_ml_component.c:33:0: coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_dag': coll_ml_inlines.h:470:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_seq': coll_ml_inlines.h:533:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from coll_ml_copy_fns.c:21:0: ../../../../ompi/mca/coll/ml/coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_dag': ../../../../ompi/mca/coll/ml/coll_ml_inlines.h:470:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] ../../../../ompi/mca/coll/ml/coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_seq': ../../../../ompi/mca/coll/ml/coll_ml_inlines.h:533:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from coll_ml_descriptors.c:12:0: coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_dag': coll_ml_inlines.h:470:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_seq': coll_ml_inlines.h:533:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from coll_ml_hier_algorithms.c:13:0: ../../../../ompi/mca/coll/ml/coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_dag': ../../../../ompi/mca/coll/ml/coll_ml_inlines.h:470:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] ../../../../ompi/mca/coll/ml/coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_seq': ../../../../ompi/mca/coll/ml/coll_ml_inlines.h:533:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from coll_ml_hier_algorithms_setup.c:14:0: ../../../../ompi/mca/coll/ml/coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_dag': ../../../../ompi/mca/coll/ml/coll_ml_inlines.h:470:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] ../../../../ompi/mca/coll/ml/coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_seq': ../../../../ompi/mca/coll/ml/coll_ml_inlines.h:533:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from coll_ml_hier_algorithms_bcast_setup.c:14:0: ../../../../ompi/mca/coll/ml/coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_dag': ../../../../ompi/mca/coll/ml/coll_ml_inlines.h:470:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] ../../../../ompi/mca/coll/ml/coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_seq': ../../../../ompi/mca/coll/ml/coll_ml_inlines.h:533:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from coll_ml_hier_algorithms_common_setup.c:14:0: ../../../../ompi/mca/coll/ml/coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_dag': ../../../../ompi/mca/coll/ml/coll_ml_inlines.h:470:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] ../../../../ompi/mca/coll/ml/coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_seq': ../../../../ompi/mca/coll/ml/coll_ml_inlines.h:533:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from coll_ml_hier_algorithm_memsync_setup.c:14:0: ../../../../ompi/mca/coll/ml/coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_dag': ../../../../ompi/mca/coll/ml/coll_ml_inlines.h:470:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] ../../../../ompi/mca/coll/ml/coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_seq': ../../../../ompi/mca/coll/ml/coll_ml_inlines.h:533:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from coll_ml_custom_utils.c:32:0: ../../../../ompi/mca/coll/ml/coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_dag': ../../../../ompi/mca/coll/ml/coll_ml_inlines.h:470:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] ../../../../ompi/mca/coll/ml/coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_seq': ../../../../ompi/mca/coll/ml/coll_ml_inlines.h:533:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from coll_ml_mca.c:25:0: coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_dag': coll_ml_inlines.h:470:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_seq': coll_ml_inlines.h:533:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from coll_ml_lmngr.c:15:0: coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_dag': coll_ml_inlines.h:470:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_seq': coll_ml_inlines.h:533:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from coll_ml_hier_algorithms_barrier_setup.c:14:0: ../../../../ompi/mca/coll/ml/coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_dag': ../../../../ompi/mca/coll/ml/coll_ml_inlines.h:470:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] ../../../../ompi/mca/coll/ml/coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_seq': ../../../../ompi/mca/coll/ml/coll_ml_inlines.h:533:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from coll_ml_select.h:12:0, from coll_ml_select.c:14: coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_dag': coll_ml_inlines.h:470:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_seq': coll_ml_inlines.h:533:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from coll_ml_memsync.c:21:0: ../../../../ompi/mca/coll/ml/coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_dag': ../../../../ompi/mca/coll/ml/coll_ml_inlines.h:470:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] ../../../../ompi/mca/coll/ml/coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_seq': ../../../../ompi/mca/coll/ml/coll_ml_inlines.h:533:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] coll_ml_lex.c:1365:16: warning: 'input' defined but not used [-Wunused-function] In file included from coll_ml_config.c:25:0: coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_dag': coll_ml_inlines.h:470:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] coll_ml_inlines.h: In function 'mca_coll_ml_alloc_op_prog_single_frag_seq': coll_ml_inlines.h:533:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] coll_sm_reduce.c: In function 'reduce_inorder': coll_sm_reduce.c:235:14: warning: variable 'sbuf_copied_to_rbuf' set but not used [-Wunused-but-set-variable] osc_pt2pt_data_move.c: In function 'ompi_osc_pt2pt_sendreq_recv_accum_long_cb': osc_pt2pt_data_move.c:643:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] osc_pt2pt_sync.c: In function 'ompi_osc_pt2pt_passive_lock': osc_pt2pt_sync.c:528:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] osc_rdma_data_move.c: In function 'ompi_osc_rdma_sendreq_recv_accum_long_cb': osc_rdma_data_move.c:945:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] osc_rdma_data_move.c: In function 'ompi_osc_rdma_control_send_cb': osc_rdma_data_move.c:1313:37: warning: variable 'header' set but not used [-Wunused-but-set-variable] osc_rdma_sync.c: In function 'ompi_osc_rdma_passive_lock': osc_rdma_sync.c:632:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable] In file included from pml_cm_recv.c:21:0: ../../../../ompi/message/message.h: In function 'ompi_message_alloc': ../../../../ompi/message/message.h:59:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from pml_bfo.c:49:0: pml_bfo_recvreq.h: In function 'mca_pml_bfo_recv_request_ack_send': pml_bfo_recvreq.h:432:5: warning: variable '_rc' set but not used [-Wunused-but-set-variable] pml_bfo.c: In function 'mca_pml_bfo_send_fin': pml_bfo.c:509:9: warning: variable '_rc' set but not used [-Wunused-but-set-variable] pml_bfo.c:542:5: warning: variable '_rc' set but not used [-Wunused-but-set-variable] In file included from pml_bfo_component.c:31:0: pml_bfo_recvreq.h: In function 'mca_pml_bfo_recv_request_ack_send': pml_bfo_recvreq.h:432:5: warning: variable '_rc' set but not used [-Wunused-but-set-variable] In file included from pml_bfo_failover.c:42:0: pml_bfo_recvreq.h: In function 'mca_pml_bfo_recv_request_ack_send': pml_bfo_recvreq.h:432:5: warning: variable '_rc' set but not used [-Wunused-but-set-variable] In file included from pml_bfo_iprobe.c:22:0: ../../../../ompi/message/message.h: In function 'ompi_message_alloc': ../../../../ompi/message/message.h:59:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from pml_bfo_iprobe.c:23:0: pml_bfo_recvreq.h: In function 'mca_pml_bfo_recv_request_ack_send': pml_bfo_recvreq.h:432:5: warning: variable '_rc' set but not used [-Wunused-but-set-variable] In file included from pml_bfo_irecv.c:24:0: pml_bfo_recvreq.h: In function 'mca_pml_bfo_recv_request_ack_send': pml_bfo_recvreq.h:432:5: warning: variable '_rc' set but not used [-Wunused-but-set-variable] In file included from pml_bfo_irecv.c:27:0: ../../../../ompi/message/message.h: In function 'ompi_message_alloc': ../../../../ompi/message/message.h:59:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from pml_bfo_isend.c:26:0: pml_bfo_recvreq.h: In function 'mca_pml_bfo_recv_request_ack_send': pml_bfo_recvreq.h:432:5: warning: variable '_rc' set but not used [-Wunused-but-set-variable] In file included from pml_bfo_recvfrag.c:41:0: pml_bfo_recvreq.h: In function 'mca_pml_bfo_recv_request_ack_send': pml_bfo_recvreq.h:432:5: warning: variable '_rc' set but not used [-Wunused-but-set-variable] pml_bfo_recvfrag.c: In function 'append_frag_to_list': pml_bfo_recvfrag.c:72:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] pml_bfo_recvfrag.c: In function 'match_one': pml_bfo_recvfrag.c:493:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from pml_bfo_recvreq.c:31:0: pml_bfo_recvreq.h: In function 'mca_pml_bfo_recv_request_ack_send': pml_bfo_recvreq.h:432:5: warning: variable '_rc' set but not used [-Wunused-but-set-variable] In file included from pml_bfo_sendreq.c:35:0: pml_bfo_recvreq.h: In function 'mca_pml_bfo_recv_request_ack_send': pml_bfo_recvreq.h:432:5: warning: variable '_rc' set but not used [-Wunused-but-set-variable] pml_bfo_sendreq.c: In function 'mca_pml_bfo_send_request_copy_in_out': pml_bfo_sendreq.c:966:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from pml_bfo_start.c:24:0: pml_bfo_recvreq.h: In function 'mca_pml_bfo_recv_request_ack_send': pml_bfo_recvreq.h:432:5: warning: variable '_rc' set but not used [-Wunused-but-set-variable] In file included from pml_ob1.c:49:0: pml_ob1_recvreq.h: In function 'mca_pml_ob1_recv_request_ack_send': pml_ob1_recvreq.h:424:5: warning: variable '_rc' set but not used [-Wunused-but-set-variable] pml_ob1.c: In function 'mca_pml_ob1_send_fin': pml_ob1.c:488:9: warning: variable '_rc' set but not used [-Wunused-but-set-variable] pml_ob1.c:514:5: warning: variable '_rc' set but not used [-Wunused-but-set-variable] In file included from pml_ob1_component.c:33:0: pml_ob1_recvreq.h: In function 'mca_pml_ob1_recv_request_ack_send': pml_ob1_recvreq.h:424:5: warning: variable '_rc' set but not used [-Wunused-but-set-variable] In file included from pml_ob1_iprobe.c:23:0: ../../../../ompi/message/message.h: In function 'ompi_message_alloc': ../../../../ompi/message/message.h:59:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from pml_ob1_iprobe.c:24:0: pml_ob1_recvreq.h: In function 'mca_pml_ob1_recv_request_ack_send': pml_ob1_recvreq.h:424:5: warning: variable '_rc' set but not used [-Wunused-but-set-variable] In file included from pml_ob1_irecv.c:25:0: pml_ob1_recvreq.h: In function 'mca_pml_ob1_recv_request_ack_send': pml_ob1_recvreq.h:424:5: warning: variable '_rc' set but not used [-Wunused-but-set-variable] In file included from pml_ob1_irecv.c:28:0: ../../../../ompi/message/message.h: In function 'ompi_message_alloc': ../../../../ompi/message/message.h:59:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from pml_ob1_isend.c:25:0: pml_ob1_recvreq.h: In function 'mca_pml_ob1_recv_request_ack_send': pml_ob1_recvreq.h:424:5: warning: variable '_rc' set but not used [-Wunused-but-set-variable] In file included from pml_ob1_recvfrag.c:44:0: pml_ob1_recvreq.h: In function 'mca_pml_ob1_recv_request_ack_send': pml_ob1_recvreq.h:424:5: warning: variable '_rc' set but not used [-Wunused-but-set-variable] pml_ob1_recvfrag.c: In function 'append_frag_to_list': pml_ob1_recvfrag.c:76:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] pml_ob1_recvfrag.c: In function 'match_one': pml_ob1_recvfrag.c:512:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from pml_ob1_recvreq.c:33:0: pml_ob1_recvreq.h: In function 'mca_pml_ob1_recv_request_ack_send': pml_ob1_recvreq.h:424:5: warning: variable '_rc' set but not used [-Wunused-but-set-variable] In file included from pml_ob1_sendreq.c:36:0: pml_ob1_recvreq.h: In function 'mca_pml_ob1_recv_request_ack_send': pml_ob1_recvreq.h:424:5: warning: variable '_rc' set but not used [-Wunused-but-set-variable] pml_ob1_sendreq.c: In function 'mca_pml_ob1_send_request_copy_in_out': pml_ob1_sendreq.c:871:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from pml_ob1_start.c:24:0: pml_ob1_recvreq.h: In function 'mca_pml_ob1_recv_request_ack_send': pml_ob1_recvreq.h:424:5: warning: variable '_rc' set but not used [-Wunused-but-set-variable] rcache_vma_tree.c: In function 'mca_rcache_vma_new': rcache_vma_tree.c:111:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] sbgp_basesmsocket_component.c: In function 'mca_sbgp_basesmsocket_select_procs': sbgp_basesmsocket_component.c:262:42: warning: variable 'my_index' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist_component.c:14: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_matching_log_prepare': vprotocol_pessimist_eventlog.h:46:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist_component.c:14: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_delivery_log': vprotocol_pessimist_eventlog.h:205:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] vprotocol_pessimist_eventlog.h:217:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist.c:11: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_matching_log_prepare': vprotocol_pessimist_eventlog.h:46:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist.c:11: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_delivery_log': vprotocol_pessimist_eventlog.h:205:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] vprotocol_pessimist_eventlog.h:217:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist_request.c:13:0: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_matching_log_prepare': vprotocol_pessimist_eventlog.h:46:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist_request.c:13:0: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_delivery_log': vprotocol_pessimist_eventlog.h:205:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] vprotocol_pessimist_eventlog.h:217:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist_proc.c:12: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_matching_log_prepare': vprotocol_pessimist_eventlog.h:46:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist_proc.c:12: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_delivery_log': vprotocol_pessimist_eventlog.h:205:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] vprotocol_pessimist_eventlog.h:217:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist_comm.c:12: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_matching_log_prepare': vprotocol_pessimist_eventlog.h:46:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist_comm.c:12: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_delivery_log': vprotocol_pessimist_eventlog.h:205:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] vprotocol_pessimist_eventlog.h:217:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist_sender_based.h:19, from vprotocol_pessimist_progress.c:12: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_matching_log_prepare': vprotocol_pessimist_eventlog.h:46:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist_sender_based.h:19, from vprotocol_pessimist_progress.c:12: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_delivery_log': vprotocol_pessimist_eventlog.h:205:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] vprotocol_pessimist_eventlog.h:217:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist_start.c:12: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_matching_log_prepare': vprotocol_pessimist_eventlog.h:46:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist_recv.c:14: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_matching_log_prepare': vprotocol_pessimist_eventlog.h:46:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist_start.c:12: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_delivery_log': vprotocol_pessimist_eventlog.h:205:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] vprotocol_pessimist_eventlog.h:217:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist_recv.c:14: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_delivery_log': vprotocol_pessimist_eventlog.h:205:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] vprotocol_pessimist_eventlog.h:217:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist_send.c:12: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_matching_log_prepare': vprotocol_pessimist_eventlog.h:46:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist_send.c:12: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_delivery_log': vprotocol_pessimist_eventlog.h:205:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] vprotocol_pessimist_eventlog.h:217:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist_probe.c:12: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_matching_log_prepare': vprotocol_pessimist_eventlog.h:46:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist_probe.c:12: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_delivery_log': vprotocol_pessimist_eventlog.h:205:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] vprotocol_pessimist_eventlog.h:217:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist_wait.c:12: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_matching_log_prepare': vprotocol_pessimist_eventlog.h:46:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist_wait.c:12: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_delivery_log': vprotocol_pessimist_eventlog.h:205:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] vprotocol_pessimist_eventlog.h:217:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist_eventlog.c:14:0: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_matching_log_prepare': vprotocol_pessimist_eventlog.h:46:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist_eventlog.c:14:0: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_delivery_log': vprotocol_pessimist_eventlog.h:205:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] vprotocol_pessimist_eventlog.h:217:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist_sender_based.h:19, from vprotocol_pessimist_sender_based.c:12: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_matching_log_prepare': vprotocol_pessimist_eventlog.h:46:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] In file included from vprotocol_pessimist.h:107:0, from vprotocol_pessimist_sender_based.h:19, from vprotocol_pessimist_sender_based.c:12: vprotocol_pessimist_eventlog.h: In function 'vprotocol_pessimist_delivery_log': vprotocol_pessimist_eventlog.h:205:13: warning: variable 'rc' set but not used [-Wunused-but-set-variable] vprotocol_pessimist_eventlog.h:217:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable]