Misc: Fix more Clang warnings in core and darwin
authorPete Batard <pete@akeo.ie>
Thu, 28 Jun 2012 21:49:47 +0000 (22:49 +0100)
committerPete Batard <pete@akeo.ie>
Mon, 2 Jul 2012 17:29:27 +0000 (18:29 +0100)
commit63f569be66a40a720bb797a87c3589f3e4de925a
treede87a88aeaef653a724a1843c566d4b2333ca607
parent0e0cbb6c27efa5a2ae58c30267a4be9486c766cc
Misc: Fix more Clang warnings in core and darwin

* http://sourceforge.net/mailarchive/message.php?msg_id=29418038
* core.c:700:4: warning: Function call argument is an uninitialized value
* darwin_usb.c:1713:11: warning: Access to field 'cfSource' results in a
  dereference of a null pointer (loaded from variable 'hpriv')
* sync.c/dpfp.c/dpfp_threaded.c: warning: Result of 'malloc' is converted
  to a pointer of type 'unsigned char', which is incompatible with sizeof
  operand type
examples/dpfp.c
examples/dpfp_threaded.c
libusb/core.c
libusb/os/darwin_usb.c
libusb/sync.c
libusb/version_nano.h