[Telepathy-commits] [telepathy-salut/master] Don't check if an unsigned int is negative.
Will Thompson
will.thompson at collabora.co.uk
Sun Jan 11 09:05:21 PST 2009
---
src/salut-connection.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/salut-connection.c b/src/salut-connection.c
index 11308c1..1df3894 100644
--- a/src/salut-connection.c
+++ b/src/salut-connection.c
@@ -456,7 +456,7 @@ static gboolean
is_presence_status_available (GObject *obj,
guint index_)
{
- return (index_ >= 0 && index_ < SALUT_PRESENCE_OFFLINE);
+ return (index_ < SALUT_PRESENCE_OFFLINE);
}
static GHashTable *
--
1.5.6.5
More information about the Telepathy-commits
mailing list