diff --git a/Controllers/QMKOpenRGBController/RGBController_QMKOpenRGBRevE.cpp b/Controllers/QMKOpenRGBController/RGBController_QMKOpenRGBRevE.cpp index a95ab86e..639b272d 100644 --- a/Controllers/QMKOpenRGBController/RGBController_QMKOpenRGBRevE.cpp +++ b/Controllers/QMKOpenRGBController/RGBController_QMKOpenRGBRevE.cpp @@ -548,7 +548,7 @@ unsigned int RGBController_QMKOpenRGBRevE::CalculateDivisor ( std::vector led_points, std::set rows, - std::set columns + std::set /*columns*/ ) { std::vector< std::vector > row_points(rows.size()); @@ -581,7 +581,7 @@ unsigned int RGBController_QMKOpenRGBRevE::CalculateDivisor } unsigned int divisor = distances[0]; - for(const std::pair &i : counts) + for(const std::pair &i : counts) { if(counts[divisor] < i.second) { @@ -618,7 +618,7 @@ void RGBController_QMKOpenRGBRevE::CountKeyTypes void RGBController_QMKOpenRGBRevE::PlaceLEDsInMaps ( std::set unique_rows, - std::set unique_cols, + std::set /*unique_cols*/, unsigned int divisor, std::vector led_points, std::vector led_flags, @@ -631,7 +631,6 @@ void RGBController_QMKOpenRGBRevE::PlaceLEDsInMaps unsigned int x = 0; unsigned int y = 0; - unsigned int openrgb_idx = 0; unsigned int underglow_counter = 0; for(unsigned int i = 0; i < controller->GetTotalNumberOfLEDs(); i++) @@ -708,7 +707,7 @@ void RGBController_QMKOpenRGBRevE::CleanMatrixMaps can_break = false; can_break_udg = false; - for(std::size_t j = matrix_map[i].size() - 1; j --> 0; ) + for(int j = matrix_map[i].size() - 1; j --> 0; ) { if(matrix_map[i][j] != NO_LED && width < (j + 1) && !can_break) {