Changeset 6601684f in rtems for cpukit/posix


Ignore:
Timestamp:
Apr 25, 2017, 6:57:03 PM (3 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
c723ee4
Parents:
f6bd41e
Message:

posix/src/mutexinit.c: Fix used before initialized warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/src/mutexinit.c

    rf6bd41e r6601684f  
    4040  const Scheduler_Control   *scheduler;
    4141  Priority_Control           priority;
     42
     43  /* initialize to avoid warning for used uninitialized */
     44  priority = 0;
    4245
    4346  if ( attr ) the_attr = attr;
Note: See TracChangeset for help on using the changeset viewer.