diff options
author | Chris Dickens <christopher.a.dickens@gmail.com> | 2020-01-22 17:02:20 -0800 |
---|---|---|
committer | Chris Dickens <christopher.a.dickens@gmail.com> | 2020-01-24 11:21:42 -0800 |
commit | 21a163a3954a0f8ae647283f48215e3e3c8caaa2 (patch) | |
tree | c1ea70a36936227c4b0495cb33d02c34483696af /msvc | |
parent | 5c7ddb5ddf1fe1d9f8c68e7deefe3bd53e1e3e8c (diff) | |
download | libusb-21a163a3954a0f8ae647283f48215e3e3c8caaa2.tar.gz |
Misc: Clean up zero-length strings and recursion in clock_gettime()
Commit 0bf84e4d51 ("core: fix build warning on newer versions of gcc")
addressed compiler warnings for zero-length printf format strings in the
core library files, but there are some additional remaining in some of
the backends. Address these remaining ones in the same manner.
Also remove the usbi_dbg() call in netbsd_clock_gettime(). This causes
infinite recursion since usbi_dbg() calls the backend's clock_gettime()
function. This was similarly addressed for the OpenBSD backend in commit
6acbd8b405 ("Remove infinite recursion in OpenBSD backend").
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'msvc')
0 files changed, 0 insertions, 0 deletions