DescriptionFix a warning in libusb.
A new clang warns about this:
../../third_party/libusb/src/libusb/os/darwin_usb.c:1271:27: error: expression which evaluates to zero treated as a null pointer constant of type 'IOUSBInterfaceInterface550 **' (aka 'struct IOUSBInterfaceStruct550 **') [-Werror,-Wnon-literal-null-conversion]
cInterface->interface = IO_OBJECT_NULL;
^~~~~~~~~~~~~~
The warning looks correct to me. I filed upstream ticket 147 for this:
http://libusb.org/moderator/confirm/147 (currently awaiting moderation).
BUG=323668
TBR=cpu
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242548
Patch Set 1 #Patch Set 2 : . #
Messages
Total messages: 6 (0 generated)
|