Skip to content

Commit 2630199

Browse files
committed
unpack_ooo: fix empty initializer
(cherry picked from commit open-mpi/ompi@447eb42)
1 parent 1fee8ef commit 2630199

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/datatype/unpack_ooo.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* reserved.
66
* Copyright (c) 2014 Research Organization for Information Science
77
* and Technology (RIST). All rights reserved.
8+
* Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
89
* $COPYRIGHT$
910
*
1011
* Additional copyrights may follow
@@ -31,12 +32,12 @@ uint32_t remote_arch = 0xffffffff;
3132
struct foo_t {
3233
int i[3];
3334
double d[3];
34-
} foo = {}, *bar = NULL;
35+
} foo = {0}, *bar = NULL;
3536

3637
struct pfoo_t {
3738
int i[2];
3839
double d[2];
39-
} pfoo = {}, *pbar = NULL;
40+
} pfoo = {0}, *pbar = NULL;
4041

4142
static void print_hex(void* ptr, int count, int space)
4243
{

0 commit comments

Comments
 (0)