Changeset 2c050633 in rtems


Ignore:
Timestamp:
Jan 28, 2021, 1:50:11 PM (12 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
8d099f4a
Parents:
ab97ea64
git-author:
Sebastian Huber <sebastian.huber@…> (01/28/21 13:50:11)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/01/21 05:22:20)
Message:

score: Simplify _CORE_message_queue_Broadcast()

This fix relates to a Coverity issue (PW.SET_BUT_NOT_USED).

File:
1 edited

Legend:

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

    rab97ea64 r2c050633  
    3232)
    3333{
    34   Thread_Control             *the_thread;
    35   uint32_t                    number_broadcasted;
     34  uint32_t number_broadcasted;
    3635
    3736  if ( size > the_message_queue->maximum_message_size ) {
     
    4544
    4645  while (
    47     ( the_thread =
    48       _CORE_message_queue_Dequeue_receiver(
    49         the_message_queue,
    50         buffer,
    51         size,
    52         0,
    53         queue_context
    54       )
    55     )
     46    _CORE_message_queue_Dequeue_receiver(
     47      the_message_queue,
     48      buffer,
     49      size,
     50      0,
     51      queue_context
     52    ) != NULL
    5653  ) {
    5754    number_broadcasted += 1;
Note: See TracChangeset for help on using the changeset viewer.