diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-26 21:18:54 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-26 21:18:54 +0800 |
commit | f8730610042229f275a5a294df4c2eb5f225118e (patch) | |
tree | ef36b4df5144619db1c4f0f3d207af7645f77bc4 /addressbook/gui/widgets/eab-gui-util.c | |
parent | e4c6ad873bd50f7ad99fb8e9bbf5dd6c78ac76ed (diff) | |
download | gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar.gz gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar.bz2 gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar.lz gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar.xz gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.tar.zst gsoc2013-evolution-f8730610042229f275a5a294df4c2eb5f225118e.zip |
Fix compiler warnings in addressbook.
Diffstat (limited to 'addressbook/gui/widgets/eab-gui-util.c')
-rw-r--r-- | addressbook/gui/widgets/eab-gui-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c index 15f03c6c8b..14285cf9b1 100644 --- a/addressbook/gui/widgets/eab-gui-util.c +++ b/addressbook/gui/widgets/eab-gui-util.c @@ -85,7 +85,7 @@ eab_error_dialog (const char *msg, EBookStatus status) { const char *status_str; - if (status < 0 || status >= G_N_ELEMENTS (status_to_string)) + if (status >= G_N_ELEMENTS (status_to_string)) status_str = "Other error"; else status_str = status_to_string [status]; |