From 834b0cc9c933bd724c44c26f86cae2cb7002d082 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Mon, 1 May 2023 20:06:35 -0500 Subject: [PATCH] Clean up test code in AOCMouseController and fix unused variable warning --- Controllers/AOCMouseController/AOCMouseController.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Controllers/AOCMouseController/AOCMouseController.cpp b/Controllers/AOCMouseController/AOCMouseController.cpp index 68d194e36..d2094a64c 100644 --- a/Controllers/AOCMouseController/AOCMouseController.cpp +++ b/Controllers/AOCMouseController/AOCMouseController.cpp @@ -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); }