Clean up test code in AOCMouseController and fix unused variable warning

This commit is contained in:
Adam Honse 2023-05-01 20:06:35 -05:00
parent 1190c2875d
commit 834b0cc9c9

View file

@ -109,12 +109,5 @@ void AOCMouseController::SendDirect
/*-----------------------------------------------------*\
| Send packet |
\*-----------------------------------------------------*/
int ret = hid_send_feature_report(dev, buf, 60);
const wchar_t * errval = hid_error(dev);
if(ret)
{
int a = 0;
a++;
}
hid_send_feature_report(dev, buf, 60);
}