Skip to content

Commit

Permalink
PVS fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
nminaylov committed Jan 11, 2024
1 parent 7045fd5 commit 14a568c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/services/cli/cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ void cli_process_input(Cli* cli) {
} else if(in_chr == CliSymbolAsciiCR) {
cli_handle_enter(cli);
} else if(
(in_chr >= 0x20 && (unsigned char)in_chr < 0x7F) &&
(in_chr >= 0x20 && in_chr < 0x7F) && //-V560
(furi_string_size(cli->line) < CLI_INPUT_LEN_LIMIT)) {
if(cli->cursor_position == furi_string_size(cli->line)) {
furi_string_push_back(cli->line, in_chr);
Expand Down

0 comments on commit 14a568c

Please sign in to comment.