Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1518)

Side by Side Diff: third_party/libusb/upstream-tick147.patch

Issue 111853011: Fix a warning in libusb. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/libusb/src/libusb/os/darwin_usb.c ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 diff --git a/third_party/libusb/src/libusb/os/darwin_usb.c b/third_party/libusb/ src/libusb/os/darwin_usb.c
2 index 58467c3..07d6d61 100644
3 --- a/third_party/libusb/src/libusb/os/darwin_usb.c
4 +++ b/third_party/libusb/src/libusb/os/darwin_usb.c
5 @@ -1268,7 +1268,7 @@ static int darwin_release_interface(struct libusb_device_h andle *dev_handle, int
6 if (kresult != kIOReturnSuccess)
7 usbi_warn (HANDLE_CTX (dev_handle), "Release: %s", darwin_error_str(kresult ));
8
9 - cInterface->interface = IO_OBJECT_NULL;
10 + cInterface->interface = NULL;
11
12 return darwin_to_libusb (kresult);
13 }
OLDNEW
« no previous file with comments | « third_party/libusb/src/libusb/os/darwin_usb.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698