-
Notifications
You must be signed in to change notification settings - Fork 69
Fix misc warnings and missing include files #1000
Fix misc warnings and missing include files #1000
Conversation
(back-ported from commit open-mpi/ompi@64b6956)
this bug was introduced in open-mpi/ompi@64b6956 Thanks Pavel (Pasha) Shamis for reporting this issue (cherry picked from commit open-mpi/ompi@0fb7b07)
(cherry picked from commit open-mpi/ompi@4f8c0c5)
(cherry picked from commit open-mpi/ompi@e8d347d)
(cherry picked from commit open-mpi/ompi@80bdbfd)
Test PASSed. |
@@ -235,10 +239,14 @@ opal_progress_event_users_increment(void) | |||
void | |||
opal_progress_event_users_decrement(void) | |||
{ | |||
#if OPAL_ENABLE_DEBUG || ! OPAL_PROGRESS_USE_TIMERS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this second conditional (!OPAL_PROGRESS_USE_TIMERS
) correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks correct to me, we only need val
in order to print it (e.g. OPAL_ENABLE_DEBUG
) or a few lines later if ! OPAL_PROGRESS_USE_TIMERS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
It seems like there are more than just warnings fixes in here, and there are some actual bug fixes, too. |
@rhc54 Can you have a look at this one? |
👍 |
Fix misc warnings and missing include files
:bot:assign: @rhc54
:bot:milestone:v2.0.0
:bot🏷️Code-cleanup-low-priority