Fix some problems reported by the Coverity scan tool
You can merge this Pull Request by running:
git pull https://github.com/LudovicRousseau/libusbx fixes
Or you can view, comment on it, or merge it online at:
https://github.com/libusbx/libusbx/pull/142
-- Commit Summary --
* examples: check the value returned by libusb_init()
* examples: check the value returned by libusb_handle_events()
* examples: check value returned by libusb_bulk_transfer()
* tests: set output_file to a valid value
-- File Changes --
M examples/hotplugtest.c (11)
M examples/xusb.c (8)
M tests/testlib.c (1)
-- Patch Links --
https://github.com/libusbx/libusbx/pull/142.patch
https://github.com/libusbx/libusbx/pull/142.diff
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel