diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-02-28 22:55:16 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-03-11 15:41:51 +0100 |
commit | e4ff28a31b0cfd1821d0a7418aba5f71a1cffb8c (patch) | |
tree | 1abedfa7419d4debce939c78f71a676dd232dfaa /device.cc | |
parent | 29375e7953041766de7c44ea5574cf80d5916e41 (diff) | |
download | libnitrokey-e4ff28a31b0cfd1821d0a7418aba5f71a1cffb8c.tar.gz libnitrokey-e4ff28a31b0cfd1821d0a7418aba5f71a1cffb8c.tar.bz2 |
Remove obsolete comments
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'device.cc')
-rw-r--r-- | device.cc | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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()); |