Changeset 0464967 in mainline for uspace/drv/bus/pci/pciintel/pci.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/drv/bus/pci/pciintel/pci.c

    rc212a03 r0464967  
    293293        const uint32_t conf_addr = CONF_ADDR(fun->bus, fun->dev, fun->fn, reg);
    294294        pci_bus_t *bus = pci_bus_from_fun(fun);
    295         uint32_t val;
     295        uint32_t val = 0;
    296296       
    297297        fibril_mutex_lock(&bus->conf_mutex);
Note: See TracChangeset for help on using the changeset viewer.