Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 837d53d in mainline


Ignore:
Timestamp:
2017-12-15T10:13:01Z (4 years ago)
Author:
Petr Mánek <petr.manek@…>
Branches:
lfn, master
Children:
a8723748
Parents:
6832245
Message:

usbhost: make compiler happy about uninitialized USB address

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/usb2_bus.c

    r6832245 r837d53d  
    211211
    212212        /** Reserve address early, we want pretty log messages */
    213         usb_address_t address;
     213        usb_address_t address = USB_ADDRESS_DEFAULT;
    214214        if ((err = request_address(bus, &address, false, dev->speed))) {
    215215                usb_log_error("Failed to reserve new address: %s.",
Note: See TracChangeset for help on using the changeset viewer.