forked from enlightenment/enlightenment
fix annoying comparison is always true warning
SVN revision: 55862
This commit is contained in:
parent
080f88407c
commit
6221397e99
|
@ -644,8 +644,7 @@ _e_fm2_op_registry_entry_print(const E_Fm2_Op_Registry_Entry *ere)
|
|||
};
|
||||
const char *status;
|
||||
|
||||
if ((ere->status >= 0) &&
|
||||
(ere->status < sizeof(status_strings) / sizeof(status_strings[0])))
|
||||
if (ere->status <= E_FM2_OP_STATUS_ERROR)
|
||||
status = status_strings[ere->status];
|
||||
else
|
||||
status = status_strings[0];
|
||||
|
|
Loading…
Reference in New Issue