Skip to content

Commit fe5bd43

Browse files
authored
Merge pull request #9529 from jsquyres/pr/fix-cid-1492848
grequest: ensure to initialize rc
2 parents ccbb38e + a671700 commit fe5bd43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/request/grequest.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* University of Stuttgart. All rights reserved.
1010
* Copyright (c) 2004-2005 The Regents of the University of California.
1111
* All rights reserved.
12-
* Copyright (c) 2006-2012 Cisco Systems, Inc. All rights reserved.
12+
* Copyright (c) 2006-2021 Cisco Systems, Inc. All rights reserved
1313
* Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved.
1414
* Copyright (c) 2021 IBM Corporation. All rights reserved.
1515
* $COPYRIGHT$
@@ -122,7 +122,7 @@ static void ompi_grequest_construct(ompi_grequest_t* greq)
122122
*/
123123
static void ompi_grequest_destruct(ompi_grequest_t* greq)
124124
{
125-
int rc;
125+
int rc = 0;
126126
MPI_Fint ierr;
127127

128128
if (greq->greq_free.c_free != NULL) {

0 commit comments

Comments
 (0)