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:
parent
1da9515427
commit
4ae1a672b4
18 changed files with 25 additions and 25 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue