Fix some trivial compiler warnings for the Haiku and BSD backends
authorChris Dickens <christopher.a.dickens@gmail.com>
Tue, 28 Apr 2020 19:24:59 +0000 (12:24 -0700)
committerChris Dickens <christopher.a.dickens@gmail.com>
Tue, 28 Apr 2020 19:24:59 +0000 (12:24 -0700)
commit8250881d74678e7312806960470db3636891d296
treebd8960c3992b782d267ef05d21b2a7a4d31c59e9
parent8476804b283cfed82aec5e45301b51be3ad68e99
Fix some trivial compiler warnings for the Haiku and BSD backends

  * [-Wformat=] format 'S' expects argument of type 'T1', but argument N has type 'T2'
  * [-Wmissing-declarations] no previous declaration for 'func'
  * [-Wreorder] 'Class::Member' will be initialized after
  * [-Wsign-compare] comparison between signed and unsigned integer expressions
  * [-Wunused-but-set-variable] variable 'v' set but not used
  * [-Wunused-parameter] unused parameter 'p'

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb/core.c
libusb/os/haiku_usb_backend.cpp
libusb/os/haiku_usb_raw.cpp
libusb/os/netbsd_usb.c
libusb/os/openbsd_usb.c
libusb/version_nano.h