mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 07:35:03 -04:00
Clean up test code in AOCMouseController and fix unused variable warning
This commit is contained in:
1 parent
1190c2875d
commit
834b0cc9c9
1 file changed
+1
-8
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user