From 005212b46394dd33a2078e21e20b41b67832e26a Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Sun, 7 Jul 2024 18:32:55 -0500 Subject: [PATCH] Fix unused variable warning in RoccatVulcanKeyboardController.cpp --- .../RoccatVulcanKeyboardController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controllers/RoccatController/RoccatVulcanKeyboardController/RoccatVulcanKeyboardController.cpp b/Controllers/RoccatController/RoccatVulcanKeyboardController/RoccatVulcanKeyboardController.cpp index 8a52e2559..241b75d8b 100644 --- a/Controllers/RoccatController/RoccatVulcanKeyboardController/RoccatVulcanKeyboardController.cpp +++ b/Controllers/RoccatController/RoccatVulcanKeyboardController/RoccatVulcanKeyboardController.cpp @@ -348,7 +348,7 @@ void RoccatVulcanKeyboardController::SendMode(unsigned int mode, unsigned int sp buf[packet_length - 2] = total & 0xFF; buf[packet_length - 1] = total >> 8; - int ret = hid_send_feature_report(dev_ctrl, buf, packet_length); + hid_send_feature_report(dev_ctrl, buf, packet_length); delete[] buf; }