Skip to content

Commit 742c1c2

Browse files
author
Ralph Castain
committed
Silence a bunch of warnings
Unused variables and an errant '&' Signed-off-by: Ralph Castain <[email protected]> (cherry picked from commit f19bfc0)
1 parent f5e61b4 commit 742c1c2

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

ompi/runtime/ompi_mpi_init.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* Copyright (c) 2008-2009 Sun Microsystems, Inc. All rights reserved.
1818
* Copyright (c) 2011 Sandia National Laboratories. All rights reserved.
1919
* Copyright (c) 2012-2013 Inria. All rights reserved.
20-
* Copyright (c) 2014-2017 Intel, Inc. All rights reserved.
20+
* Copyright (c) 2014-2018 Intel, Inc. All rights reserved.
2121
* Copyright (c) 2014-2016 Research Organization for Information Science
2222
* and Technology (RIST). All rights reserved.
2323
* Copyright (c) 2016 Mellanox Technologies Ltd. All rights reserved.

orte/mca/iof/base/iof_base_frame.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* All rights reserved.
1212
* Copyright (c) 2013 Los Alamos National Security, LLC. All rights reserved.
1313
* Copyright (c) 2013 Cisco Systems, Inc. All rights reserved.
14-
* Copyright (c) 2015-2017 Intel, Inc. All rights reserved.
14+
* Copyright (c) 2015-2018 Intel, Inc. All rights reserved.
1515
* Copyright (c) 2015-2018 Research Organization for Information Science
1616
* and Technology (RIST). All rights reserved.
1717
* Copyright (c) 2017 IBM Corporation. All rights reserved.
@@ -109,7 +109,7 @@ static int orte_iof_base_close(void)
109109
*/
110110
static int orte_iof_base_open(mca_base_open_flag_t flags)
111111
{
112-
int rc, xmlfd;
112+
int xmlfd;
113113

114114
/* daemons do not need to do this as they do not write out stdout/err */
115115
if (!ORTE_PROC_IS_DAEMON) {

orte/mca/odls/base/odls_base_default_fns.c

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ int orte_odls_base_default_get_add_procs_data(opal_buffer_t *buffer,
121121
opal_list_t *modex;
122122
int n;
123123

124+
124125
/* get the job data pointer */
125126
if (NULL == (jdata = orte_get_job_data_object(job))) {
126127
ORTE_ERROR_LOG(ORTE_ERR_BAD_PARAM);

0 commit comments

Comments
 (0)