Minor tweak

This commit is contained in:
Jack Andersen
2018-12-07 15:28:54 -10:00
parent 54676aff91
commit 2c2c72bfd1
5 changed files with 9 additions and 8 deletions

View File

@@ -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;
}