trivial: remove a tautological compare

Unsigned enum is always >= 0.
This commit is contained in:
Lubomir Rintel 2015-03-18 18:27:25 +01:00
parent fd41aa451b
commit a43f95b0ac

View file

@ -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];
}