Changeset 84239b1 in mainline for uspace/lib/ext4/src/extent.c


Ignore:
Timestamp:
2018-03-11T19:39:11Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f3d47c97
Parents:
850fd32
Message:

And there was much fixing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext4/src/extent.c

    r850fd32 r84239b1  
    476476        uint16_t pos = 0;
    477477        errno_t rc;
     478        errno_t rc2;
    478479        while (ext4_extent_header_get_depth(eh) != 0) {
    479480                /* Search index in index node by iblock */
     
    513514
    514515cleanup:
    515         ;
    516 
    517         errno_t rc2 = EOK;
     516        rc2 = EOK;
    518517
    519518        /*
     
    623622        /* Find the first extent to modify */
    624623        ext4_extent_path_t *path;
     624        errno_t rc2;
    625625        errno_t rc = ext4_extent_find_extent(inode_ref, iblock_from, &path);
    626626        if (rc != EOK)
     
    734734
    735735cleanup:
    736         ;
    737 
    738         errno_t rc2 = EOK;
     736        rc2 = EOK;
    739737
    740738        /*
     
    982980        /* Load the nearest leaf (with extent) */
    983981        ext4_extent_path_t *path;
     982        errno_t rc2;
    984983        errno_t rc = ext4_extent_find_extent(inode_ref, new_block_idx, &path);
    985984        if (rc != EOK)
     
    10861085
    10871086finish:
    1088         ;
    1089 
    1090         errno_t rc2 = EOK;
     1087        rc2 = EOK;
    10911088
    10921089        /* Set return values */
Note: See TracChangeset for help on using the changeset viewer.