summaryrefslogtreecommitdiff
path: root/libgphoto2_port/usb
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2009-06-08 07:42:56 +0000
committerMarcus Meissner <marcus@jet.franken.de>2009-06-08 07:42:56 +0000
commita0ab48af7851f249bebe1d21455ebb30f69e8ccb (patch)
tree7fa62bff0e95685e10f915beaa05e65bde3f4604 /libgphoto2_port/usb
parent58d6d58695a896ceed6d41f2b737f9c81112c64a (diff)
downloadlibgphoto2-a0ab48af7851f249bebe1d21455ebb30f69e8ccb.tar.gz
comment out two debuglines that just spam the logfile
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@12137 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'libgphoto2_port/usb')
-rw-r--r--libgphoto2_port/usb/libusb.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libgphoto2_port/usb/libusb.c b/libgphoto2_port/usb/libusb.c
index 7eafe5194..413cdd319 100644
--- a/libgphoto2_port/usb/libusb.c
+++ b/libgphoto2_port/usb/libusb.c
@@ -786,9 +786,11 @@ gp_port_usb_find_device_lib(GPPort *port, int idvendor, int idproduct)
}
}
+#if 0
gp_port_set_error (port, _("Could not find USB device "
"(vendor 0x%x, product 0x%x). Make sure this device "
"is connected to the computer."), idvendor, idproduct);
+#endif
return GP_ERROR_IO_USB_FIND;
}
@@ -1017,10 +1019,11 @@ gp_port_usb_find_device_by_class_lib(GPPort *port, int class, int subclass, int
return GP_OK;
}
}
-
+#if 0
gp_port_set_error (port, _("Could not find USB device "
"(class 0x%x, subclass 0x%x, protocol 0x%x). Make sure this device "
"is connected to the computer."), class, subclass, protocol);
+#endif
return GP_ERROR_IO_USB_FIND;
}