Skip to content

Commit f435134

Browse files
committed
Correct initial values for INOUT variables name_len and desc_len.
1 parent 36d0804 commit f435134

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

events/events_source.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ void test_source() {
3636
int num_sources, source_index;
3737
MPI_Count timestamp;
3838
char name[MAX_STRING], desc[MAX_STRING];
39-
int name_len, desc_len;
39+
int name_len = MAX_STRING, desc_len = MAX_STRING;
4040
MPI_Count ticks_per_second, max_ticks;
4141
MPI_Info info;
4242
MPI_T_source_order ordering;

0 commit comments

Comments
 (0)