mirror of
https://github.com/git/git
synced 2024-09-13 05:14:36 +00:00
Merge branch 'js/prepare-sequencer'
Silence a clang warning introduced by a recently graduated topic. * js/prepare-sequencer: sequencer: silence -Wtautological-constant-out-of-range-compare
This commit is contained in:
commit
5de732f647
|
@ -629,7 +629,7 @@ static const char *todo_command_strings[] = {
|
||||||
|
|
||||||
static const char *command_to_string(const enum todo_command command)
|
static const char *command_to_string(const enum todo_command command)
|
||||||
{
|
{
|
||||||
if (command < ARRAY_SIZE(todo_command_strings))
|
if ((size_t)command < ARRAY_SIZE(todo_command_strings))
|
||||||
return todo_command_strings[command];
|
return todo_command_strings[command];
|
||||||
die("Unknown command: %d", command);
|
die("Unknown command: %d", command);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue