Ignore:
Timestamp:
Dec 6, 2011, 7:12:42 AM (7 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
6425dc5
Parents:
e2bcb32
Message:

2011-12-06 Ralf Corsépius <ralf.corsepius@…>

  • score/src/schedulercbsattachthread.c, score/src/schedulercbsdestroyserver.c, score/src/schedulercbsdetachthread.c, score/src/schedulercbsgetapprovedbudget.c, score/src/schedulercbsgetexecutiontime.c, score/src/schedulercbsgetparameters.c, score/src/schedulercbsgetremainingbudget.c, score/src/schedulercbssetparameters.c: Remove checks for server_id < 0 (server_id is unsigned).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/schedulercbsgetparameters.c

    re2bcb32 r04bf7cb  
    2424)
    2525{
    26   if ( server_id < 0 || server_id >= _Scheduler_CBS_Maximum_servers )
     26  if ( server_id >= _Scheduler_CBS_Maximum_servers )
    2727    return SCHEDULER_CBS_ERROR_INVALID_PARAMETER;
    2828  if ( !_Scheduler_CBS_Server_list[server_id] )
Note: See TracChangeset for help on using the changeset viewer.