examples: check the value returned by libusb_handle_events()
authorLudovic Rousseau <ludovic.rousseau+github@gmail.com>
Sun, 22 Sep 2013 19:19:06 +0000 (21:19 +0200)
committerLudovic Rousseau <ludovic.rousseau+github@gmail.com>
Sat, 28 Sep 2013 10:16:13 +0000 (12:16 +0200)
commitd4dabfd14e50144c2935c4ef30202a8dd46b5ae6
tree028073320133e1b22d88939cefd9853fd10fd8a6
parentaa00030b78b4e46511c32c76c08ea031eacef8d1
examples: check the value returned by libusb_handle_events()

Problem detected by the Coverity tool
CID 1042539 (#1 of 1): Unchecked return value (CHECKED_RETURN)8.
check_return: Calling function "libusb_handle_events(libusb_context *)"
without checking return value (as is done elsewhere 6 out of 7 times).
examples/hotplugtest.c
libusb/version_nano.h