Skip to content

Commit 4591f6a

Browse files
committed
Missing returns
1 parent 01118b5 commit 4591f6a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/adios2/toolkit/sst/cp/cp_writer.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2535,6 +2535,7 @@ void CP_ReaderRequestStepHandler(CManager cm, CMConnection conn, void *Msg_v, vo
25352535
{
25362536
CP_verbose(Stream, TraceVerbose, "In RequestStepHandler, stream closing, ignore\n");
25372537
STREAM_MUTEX_UNLOCK(CP_WSR_Stream->ParentStream);
2538+
return;
25382539
}
25392540
int RequestingReader = -1;
25402541
for (int i = 0; i < Stream->ReaderCount; i++)
@@ -2549,6 +2550,7 @@ void CP_ReaderRequestStepHandler(CManager cm, CMConnection conn, void *Msg_v, vo
25492550
CP_verbose(Stream, TraceVerbose,
25502551
"In RequestStepHandler, RequestingReader not found, ignore\n");
25512552
STREAM_MUTEX_UNLOCK(CP_WSR_Stream->ParentStream);
2553+
return;
25522554
}
25532555

25542556
while (List)

0 commit comments

Comments
 (0)