Changeset 0464967 in mainline for uspace/lib/trackmod/xm.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/lib/trackmod/xm.c

    rc212a03 r0464967  
    289289        size_t instr_size;
    290290        size_t smp_size;
    291         size_t smp_hdr_size;
     291        size_t smp_hdr_size = 0;  /* GCC false alarm on uninitialized */
    292292        ssize_t nread;
    293293        uint8_t ltype;
Note: See TracChangeset for help on using the changeset viewer.