From e4ff28a31b0cfd1821d0a7418aba5f71a1cffb8c Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Tue, 28 Feb 2017 22:55:16 +0100 Subject: Remove obsolete comments Signed-off-by: Szczepan Zalega --- device.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/device.cc b/device.cc index ddbfe85..35e7a78 100644 --- a/device.cc +++ b/device.cc @@ -107,13 +107,10 @@ int Device::recv(void *packet) { throw DeviceNotConnected("Attempted HID receive on an invalid descriptor."); } - // FIXME extract error handling and repeating to parent function in - // device_proto:192 for (;;) { status = (hid_get_feature_report(mp_devhandle, (unsigned char *)(packet), HID_REPORT_SIZE)); - // FIXME handle getting libhid error message somewhere else auto pwherr = hid_error(mp_devhandle); std::wstring wherr = (pwherr != nullptr) ? pwherr : L"No error message"; std::string herr(wherr.begin(), wherr.end()); -- cgit v1.2.3