Skip to content

Commit 472d271

Browse files
committed
Remove warning from clang "warning: non-void function does not return a value in all control paths [-Wreturn-type]"
1 parent 0eb5ead commit 472d271

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

common/lib/share/mccode-r.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2378,9 +2378,8 @@ FILE *siminfo_init(FILE *f)
23782378
siminfo_out("end simulation\n");
23792379

23802380
}
2381-
return (siminfo_file);
2382-
23832381
); /* MPI_MASTER */
2382+
return (siminfo_file);
23842383

23852384
} /* siminfo_init */
23862385

0 commit comments

Comments
 (0)