Meta+Kernel: Make clang-format-10 clean

This commit is contained in:
Ben Wiederhake 2020-09-18 09:49:51 +02:00 committed by Andreas Kling
commit 64cc3f51d0
Notes: sideshowbarker 2024-07-19 02:14:43 +09:00
61 changed files with 123 additions and 118 deletions

View file

@ -38,7 +38,7 @@ void CommandLine::early_initialize(const char* cmd_line)
return;
size_t length = strlen(cmd_line);
if (length >= sizeof(s_cmd_line))
length = sizeof(s_cmd_line) -1;
length = sizeof(s_cmd_line) - 1;
memcpy(s_cmd_line, cmd_line, length);
s_cmd_line[length] = '\0';
}