mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-17 17:05:24 +00:00
Minor tweak
This commit is contained in:
@@ -106,7 +106,7 @@ class HIDListenerUdev final : public IHIDListener
|
||||
int reportDescSize;
|
||||
if (ioctl(fd, HIDIOCGRDESCSIZE, &reportDescSize) == -1)
|
||||
{
|
||||
const char* err = strerror(errno);
|
||||
//const char* err = strerror(errno);
|
||||
close(fd);
|
||||
return;
|
||||
}
|
||||
@@ -116,7 +116,7 @@ class HIDListenerUdev final : public IHIDListener
|
||||
reportDesc.size = reportDescSize;
|
||||
if (ioctl(fd, HIDIOCGRDESC, &reportDesc) == -1)
|
||||
{
|
||||
const char* err = strerror(errno);
|
||||
//const char* err = strerror(errno);
|
||||
close(fd);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user