diff options
Diffstat (limited to 'ace/Sched_Params.cpp')
-rw-r--r-- | ace/Sched_Params.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ace/Sched_Params.cpp b/ace/Sched_Params.cpp index 2c1151de54f..346c3f9c7db 100644 --- a/ace/Sched_Params.cpp +++ b/ace/Sched_Params.cpp @@ -192,7 +192,6 @@ ACE_Sched_Params::next_priority (const Policy policy, const int scope) { #if defined (VXWORKS) - ACE_UNUSED_ARG (policy); return priority > priority_max (policy, scope) ? priority - 1 : priority_max (policy, scope); @@ -225,6 +224,7 @@ ACE_Sched_Params::next_priority (const Policy policy, #else ACE_UNUSED_ARG (policy); ACE_UNUSED_ARG (scope); + ACE_UNUSED_ARG (priority); ACE_NOTSUP_RETURN (-1); #endif /* ACE_HAS_THREADS */ } @@ -268,6 +268,7 @@ ACE_Sched_Params::previous_priority (const Policy policy, #else ACE_UNUSED_ARG (policy); ACE_UNUSED_ARG (scope); + ACE_UNUSED_ARG (priority); ACE_NOTSUP_RETURN (-1); #endif /* ACE_HAS_THREADS */ } |