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

Unified 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 7 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libusb/src/libusb/os/darwin_usb.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libusb/upstream-tick147.patch
diff --git a/third_party/libusb/upstream-tick147.patch b/third_party/libusb/upstream-tick147.patch
new file mode 100644
index 0000000000000000000000000000000000000000..28acfc6f968ee0f71555ace59e66836159e2cf53
--- /dev/null
+++ b/third_party/libusb/upstream-tick147.patch
@@ -0,0 +1,13 @@
+diff --git a/third_party/libusb/src/libusb/os/darwin_usb.c b/third_party/libusb/src/libusb/os/darwin_usb.c
+index 58467c3..07d6d61 100644
+--- a/third_party/libusb/src/libusb/os/darwin_usb.c
++++ b/third_party/libusb/src/libusb/os/darwin_usb.c
+@@ -1268,7 +1268,7 @@ static int darwin_release_interface(struct libusb_device_handle *dev_handle, int
+ if (kresult != kIOReturnSuccess)
+ usbi_warn (HANDLE_CTX (dev_handle), "Release: %s", darwin_error_str(kresult));
+
+- cInterface->interface = IO_OBJECT_NULL;
++ cInterface->interface = NULL;
+
+ return darwin_to_libusb (kresult);
+ }
« 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