diff options
author | Sean McBride <sean@rogue-research.com> | 2014-01-21 11:20:20 -0500 |
---|---|---|
committer | Pete Batard <pete@akeo.ie> | 2014-01-21 18:19:34 +0000 |
commit | 28c37da1f4cc2b9e683c8531d2f6c90559708948 (patch) | |
tree | 75277ce3ef6b68cc88770b8f192a0be8821f946a | |
parent | 9a34bb705eaa74719d12ee6e0268790cf46aafce (diff) | |
download | libusb-28c37da1f4cc2b9e683c8531d2f6c90559708948.tar.gz |
Darwin: Fix Xcode warning in 'struct timeval' initialization
-rw-r--r-- | libusb/core.c | 2 | ||||
-rw-r--r-- | libusb/version_nano.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libusb/core.c b/libusb/core.c index 3ff22c1..af92854 100644 --- a/libusb/core.c +++ b/libusb/core.c @@ -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, 0 }; usbi_dbg(""); USBI_GET_CONTEXT(ctx); diff --git a/libusb/version_nano.h b/libusb/version_nano.h index cba82c4..b7dfab5 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 10863 +#define LIBUSB_NANO 10864 |