Darwin: Fix Xcode warning in 'struct timeval' initialization
authorSean McBride <sean@rogue-research.com>
Tue, 21 Jan 2014 16:20:20 +0000 (11:20 -0500)
committerPete Batard <pete@akeo.ie>
Tue, 21 Jan 2014 18:19:34 +0000 (18:19 +0000)
libusb/core.c
libusb/version_nano.h

index 3ff22c1..af92854 100644 (file)
@@ -1907,7 +1907,7 @@ err_unlock:
 void API_EXPORTED libusb_exit(struct libusb_context *ctx)
 {
        struct libusb_device *dev, *next;
-       struct timeval tv = { 0, };
+       struct timeval tv = { 0, };
 
        usbi_dbg("");
        USBI_GET_CONTEXT(ctx);
index cba82c4..b7dfab5 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 10863
+#define LIBUSB_NANO 10864