1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 03:20:00 +03:00

Fix clang unitests (#13551)

This commit is contained in:
Petr Ledvina 2024-04-21 08:51:23 +02:00 committed by GitHub
parent 1da9515427
commit 4ae1a672b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 25 additions and 25 deletions

View file

@ -4250,7 +4250,6 @@ static void cliDefaults(const char *cmdName, char *cmdline)
char *saveptr;
char* tok = strtok_r(cmdline, " ", &saveptr);
int index = 0;
bool expectParameterGroupId = false;
while (tok != NULL) {
if (expectParameterGroupId) {
@ -4271,7 +4270,6 @@ static void cliDefaults(const char *cmdName, char *cmdline)
return;
}
index++;
tok = strtok_r(NULL, " ", &saveptr);
}