Skip to content

Commit ad44ecb

Browse files
committed
pml/base: initialize global variables
Signed-off-by: Gilles Gouaillardet <[email protected]>
1 parent c331e67 commit ad44ecb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ompi/mca/pml/base/pml_base_bsend.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Copyright (c) 2004-2005 The Regents of the University of California.
1212
* All rights reserved.
1313
* Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
14-
* Copyright (c) 2015 Research Organization for Information Science
14+
* Copyright (c) 2015-2017 Research Organization for Information Science
1515
* and Technology (RIST). All rights reserved.
1616
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
1717
* reserved.
@@ -44,9 +44,9 @@ static opal_condition_t mca_pml_bsend_condition; /* condition variable to block
4444
static mca_allocator_base_component_t* mca_pml_bsend_allocator_component;
4545
static mca_allocator_base_module_t* mca_pml_bsend_allocator; /* sub-allocator to manage users buffer */
4646
static size_t mca_pml_bsend_usersize; /* user provided buffer size */
47-
unsigned char *mca_pml_bsend_userbase; /* user provided buffer base */
48-
unsigned char *mca_pml_bsend_base; /* adjusted base of user buffer */
49-
unsigned char *mca_pml_bsend_addr; /* current offset into user buffer */
47+
unsigned char *mca_pml_bsend_userbase=NULL;/* user provided buffer base */
48+
unsigned char *mca_pml_bsend_base = NULL;/* adjusted base of user buffer */
49+
unsigned char *mca_pml_bsend_addr = NULL;/* current offset into user buffer */
5050
static size_t mca_pml_bsend_size; /* adjusted size of user buffer */
5151
static size_t mca_pml_bsend_count; /* number of outstanding requests */
5252
static size_t mca_pml_bsend_pagesz; /* mmap page size */

0 commit comments

Comments
 (0)