Changeset 0464967 in mainline for uspace/app/mkmfs/mkmfs.c


Ignore:
Timestamp:
2017-10-20T00:31:52Z (7 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
04efacc
Parents:
c212a03 (diff), ccbf93f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Fix gcc warnings when building with -O1 or -Og flags.
(Thanks Ondřej Hlavatý!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/mkmfs/mkmfs.c

    rc212a03 r0464967  
    348348        unsigned int i;
    349349        uint8_t *itable_buf;
    350         int rc;
     350        int rc = EOK;
    351351
    352352        long itable_off = sb->zbmap_blocks + sb->ibmap_blocks + 2;
     
    633633        const unsigned int zbmap_nblocks = sb->zbmap_blocks;
    634634        unsigned int i;
    635         int rc;
     635        int rc = EOK;
    636636
    637637        ibmap_buf = malloc(ibmap_nblocks * sb->block_size);
Note: See TracChangeset for help on using the changeset viewer.