mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-16 21:28:33 +03:00
Fix unchecked return value of osmo_libusb_init()
Fixes: CID#307501: Unchecked return value (CHECKED_RETURN) Change-Id: Ic1f600dfd44d15da165a17d84f0faab6f6fd69c3
This commit is contained in:
@@ -78,7 +78,7 @@ static struct log_info log_info = {};
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
osmo_init_logging2(NULL, &log_info);
|
||||
osmo_libusb_init(NULL);
|
||||
OSMO_ASSERT(osmo_libusb_init(NULL) == 0);
|
||||
find_devices();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user