mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-22 09:10:28 +01:00
trivial: remove a tautological compare
Unsigned enum is always >= 0.
This commit is contained in:
parent
fd41aa451b
commit
a43f95b0ac
1 changed files with 1 additions and 1 deletions
|
|
@ -372,7 +372,7 @@ static const char *action_table[] = {
|
||||||
static const char *
|
static const char *
|
||||||
action_to_string (DispatcherAction action)
|
action_to_string (DispatcherAction action)
|
||||||
{
|
{
|
||||||
g_assert (action >= 0 && action < G_N_ELEMENTS (action_table));
|
g_assert ((gsize) action < G_N_ELEMENTS (action_table));
|
||||||
return action_table[action];
|
return action_table[action];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue