Changeset 23de6fa8 in rtems


Ignore:
Timestamp:
Oct 13, 2014, 8:56:54 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
803c49cb
Parents:
bf49991f
git-author:
Joel Sherrill <joel.sherrill@…> (10/13/14 20:56:54)
git-committer:
Joel Sherrill <joel.sherrill@…> (10/16/14 13:58:46)
Message:

jffs2/src/fs-rtems.c: Eliminate set but not used warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/jffs2/src/fs-rtems.c

    rbf49991f r23de6fa8  
    319319        rtems_status_code sc = rtems_semaphore_obtain(sb->s_mutex, RTEMS_WAIT, RTEMS_NO_TIMEOUT);
    320320        assert(sc == RTEMS_SUCCESSFUL);
     321        (void) sc; /* avoid unused variable warning */
    321322}
    322323
     
    325326        rtems_status_code sc = rtems_semaphore_release(sb->s_mutex);
    326327        assert(sc == RTEMS_SUCCESSFUL);
     328        (void) sc; /* avoid unused variable warning */
    327329}
    328330
     
    367369                rtems_status_code sc = rtems_semaphore_delete(sb->s_mutex);
    368370                assert(sc == RTEMS_SUCCESSFUL);
     371                (void) sc; /* avoid unused variable warning */
    369372        }
    370373
Note: See TracChangeset for help on using the changeset viewer.