style: remove unused params of main (#2948)

Co-authored-by: realstealthninja <68815218+realstealthninja@users.noreply.github.com>
This commit is contained in:
Piotr Idzik
2025-08-15 05:52:28 +02:00
committed by GitHub
parent d4962c3032
commit fb27d4d304
30 changed files with 32 additions and 70 deletions

View File

@@ -191,11 +191,9 @@ static void test(const std::vector<int> &vals, int windowSize) {
/**
* @brief Main function
* @param argc command line argument count (ignored)
* @param argv command line array of arguments (ignored)
* @returns 0 on exit
*/
int main(int argc, const char *argv[]) {
int main() {
/// A few fixed test cases
test({1, 2, 3, 4, 5, 6, 7, 8, 9},
3); /// Array of sorted values; odd window size