Description: Fix behaviour if no USB devices are present
Author: Simon Richter <sjr@debian.org>
Last-Update: 2023-12-16

--- librevisa-0.0.20130812.orig/src/usb/usb_resource_creator.cpp
+++ librevisa-0.0.20130812/src/usb/usb_resource_creator.cpp
@@ -59,11 +59,15 @@ resource *usb_resource::creator::create(
 }
 
 void usb_resource::creator::find(findlist &list) const
+try
 {
         create_or_find_args args;
         args.find = &list;
         create_or_find(FIND, args);
 }
+catch(exception &)
+{
+}
 
 resource *usb_resource::creator::create_or_find(
         create_or_find_mode mode,
