Changeset f8b7c83d in rtems


Ignore:
Timestamp:
Aug 25, 2010, 8:47:33 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5, master
Children:
49460dc
Parents:
ce3bfb7
Message:

2010-08-25 Joel Sherrill <joel.sherrill@…>

Coverity Id 148/STRAY_SEMICOLON

  • score/src/coremsginsert.c: Slightly modify macro.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rce3bfb7 rf8b7c83d  
     12010-08-25      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        Coverity Id 148/STRAY_SEMICOLON
     4        * score/src/coremsginsert.c: Slightly modify macro.
     5
    162010-08-25      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • cpukit/score/src/coremsginsert.c

    rce3bfb7 rf8b7c83d  
    6060    bool    notify = false;
    6161    #define SET_NOTIFY() \
    62       if ( the_message_queue->number_of_pending_messages == 0 )
    63         notify = true;
     62      do { \
     63        if ( the_message_queue->number_of_pending_messages == 0 )
     64          notify = true; \
     65      } while (0)
    6466  #else
    6567    #define SET_NOTIFY()
Note: See TracChangeset for help on using the changeset viewer.