We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 041d5b0 commit 6989cb3Copy full SHA for 6989cb3
ompi/errhandler/errcode.c
@@ -440,7 +440,7 @@ int ompi_mpi_errcode_remove(int errnum)
440
if (OPAL_SUCCESS == ret) {
441
if (errnum == ompi_mpi_errcode_lastused) {
442
ompi_mpi_errcode_lastused--;
443
- ret = errnum - 1; /* lastused w/o lock */
+ ret = ompi_mpi_errcode_lastused;
444
}
445
446
@@ -478,7 +478,7 @@ int ompi_mpi_errclass_remove(int errclass)
478
479
if (errclass == ompi_mpi_errcode_lastused) {
480
481
- ret = errclass - 1; /* lastused w/o lock */
482
483
484
0 commit comments