diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2015-03-18 18:27:25 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2015-03-19 11:48:49 +0100 |
commit | a43f95b0ac2292d17d0d9e20cda40d0136620152 (patch) | |
tree | 9577dc585259be7d60f8b319040e9f3b6a36d1b1 | |
parent | fd41aa451bc83d17565bfd57f68558c9aff6358f (diff) | |
download | NetworkManager-a43f95b0ac2292d17d0d9e20cda40d0136620152.tar.gz |
trivial: remove a tautological compare
Unsigned enum is always >= 0.
-rw-r--r-- | src/nm-dispatcher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nm-dispatcher.c b/src/nm-dispatcher.c index 4e0a05ed7d..8fdb43dfbe 100644 --- a/src/nm-dispatcher.c +++ b/src/nm-dispatcher.c @@ -372,7 +372,7 @@ static const char *action_table[] = { static const char * 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]; } |