]> git.0d.be Git - empathy.git/commitdiff
[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 ab0973d90b2ebaeb0fd359deb760be7d85677bf1..e78c11b2f3b295619e791af07daaf49c972bff95 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;