Remove tautological condition.

This commit is contained in:
Dag-Erling Smørgrav 2016-10-03 16:43:05 +02:00 committed by Dag-Erling Smørgrav
parent 86cbac767a
commit 94c83d5407

View file

@ -64,7 +64,7 @@ const char *
oath_mode_name(enum oath_mode om) oath_mode_name(enum oath_mode om)
{ {
if (om >= 0 && om < om_max) if (om < om_max)
return (oath_mode_names[om]); return (oath_mode_names[om]);
return (NULL); return (NULL);
} }