File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1212 * All rights reserved.
1313 * Copyright (c) 2006-2014 Los Alamos National Security, LLC. All rights
1414 * reserved.
15- * Copyright (c) 2015 Research Organization for Information Science
15+ * Copyright (c) 2015-2016 Research Organization for Information Science
1616 * and Technology (RIST). All rights reserved.
1717 *
1818 * $COPYRIGHT$
@@ -222,6 +222,8 @@ opal_progress_event_users_increment(void)
222222 val = opal_atomic_add_32 (& num_event_users , 1 );
223223
224224 OPAL_OUTPUT ((debug_output , "progress: event_users_increment setting count to %d" , val ));
225+ #else
226+ (void )opal_atomic_add_32 (& num_event_users , 1 );
225227#endif
226228
227229#if OPAL_PROGRESS_USE_TIMERS
@@ -237,11 +239,13 @@ opal_progress_event_users_increment(void)
237239void
238240opal_progress_event_users_decrement (void )
239241{
240- #if OPAL_ENABLE_DEBUG
242+ #if OPAL_ENABLE_DEBUG || ! OPAL_PROGRESS_USE_TIMERS
241243 int32_t val ;
242244 val = opal_atomic_sub_32 (& num_event_users , 1 );
243245
244246 OPAL_OUTPUT ((debug_output , "progress: event_users_decrement setting count to %d" , val ));
247+ #else
248+ (void )opal_atomic_sub_32 (& num_event_users , 1 );
245249#endif
246250
247251#if !OPAL_PROGRESS_USE_TIMERS
You can’t perform that action at this time.
0 commit comments