Changeset 05b59393 in mainline for uspace/lib/c/generic/cap.c


Ignore:
Timestamp:
2017-10-04T18:02:14Z (7 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c9e88da
Parents:
0b2d369
Message:

Fix a couple of benign clang warnings.
No change in semantics.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/cap.c

    r0b2d369 r05b59393  
    185185        sunit = NULL;
    186186
    187         if (cap->cunit < 0 || cap->cunit >= CU_LIMIT)
    188                 assert(false);
     187        assert(cap->cunit < CU_LIMIT);
    189188
    190189        rc = ipow10_u64(cap->dp, &div);
Note: See TracChangeset for help on using the changeset viewer.