From 6221397e9939f99c264a4921ddeea8592e3e8ba0 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 5 Jan 2011 05:39:30 +0000 Subject: [PATCH] fix annoying comparison is always true warning SVN revision: 55862 --- src/bin/e_fm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c index a37b4bd57..d7e4ea05e 100644 --- a/src/bin/e_fm.c +++ b/src/bin/e_fm.c @@ -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];