Skip to content

Commit 017f242

Browse files
committed
opal: remove some unused variables / compiler warnings
Signed-off-by: Jeff Squyres <[email protected]>
1 parent 099170b commit 017f242

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

opal/class/opal_graph.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* Copyright (c) 2007 Voltaire All rights reserved.
1414
* Copyright (c) 2016 Los Alamos National Security, LLC. All rights
1515
* reserved.
16+
* Copyright (c) 2016 Cisco Systems, Inc. All rights reserved.
1617
* $COPYRIGHT$
1718
*
1819
* Additional copyrights may follow
@@ -337,7 +338,6 @@ void opal_graph_remove_edge (opal_graph_t *graph, opal_graph_edge_t *edge)
337338
void opal_graph_remove_vertex(opal_graph_t *graph, opal_graph_vertex_t *vertex)
338339
{
339340
opal_adjacency_list_t *adj_list;
340-
opal_graph_edge_t *edge;
341341

342342
/* do not need to remove all the edges of this vertex and destruct them as
343343
* they will be released in the destructor for adj_list */

opal/mca/btl/openib/btl_openib_component.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* University of Stuttgart. All rights reserved.
1111
* Copyright (c) 2004-2005 The Regents of the University of California.
1212
* All rights reserved.
13-
* Copyright (c) 2006-2015 Cisco Systems, Inc. All rights reserved.
13+
* Copyright (c) 2006-2016 Cisco Systems, Inc. All rights reserved.
1414
* Copyright (c) 2006-2015 Mellanox Technologies. All rights reserved.
1515
* Copyright (c) 2006-2015 Los Alamos National Security, LLC. All rights
1616
* reserved.
@@ -2131,7 +2131,6 @@ static int init_one_device(opal_list_t *btl_list, struct ibv_device* ib_dev)
21312131
{
21322132
/* we need to read this MCA param at this point in case someone
21332133
* altered it via MPI_T */
2134-
int index;
21352134
mca_base_var_source_t source;
21362135

21372136
if (OPAL_SUCCESS != (ret = get_var_source ("receive_queues", &source))) {

0 commit comments

Comments
 (0)