[darcs-to-svn @ do not assert when there is an unknown state str]
authorXavier Claessens <xclaesse@src.gnome.org>
Sun, 6 May 2007 14:14:41 +0000 (14:14 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Sun, 6 May 2007 14:14:41 +0000 (14:14 +0000)
svn path=/trunk/; revision=30

libempathy/gossip-presence.c

index ab0973d..e78c11b 100644 (file)
@@ -332,8 +332,6 @@ gossip_presence_state_from_str (const gchar *str)
                return MC_PRESENCE_OFFLINE;
        } else if (strcmp (str, "unset") == 0) {
                return MC_PRESENCE_UNSET;
-       } else {
-               g_assert_not_reached ();
        }
 
        return MC_PRESENCE_AVAILABLE;