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;
|
const char *status;
|
||||||
|
|
||||||
if ((ere->status >= 0) &&
|
if (ere->status <= E_FM2_OP_STATUS_ERROR)
|
||||||
(ere->status < sizeof(status_strings) / sizeof(status_strings[0])))
|
|
||||||
status = status_strings[ere->status];
|
status = status_strings[ere->status];
|
||||||
else
|
else
|
||||||
status = status_strings[0];
|
status = status_strings[0];
|
||||||
|
|
Loading…
Reference in New Issue