Mercurial > hg
changeset 1613:509fa8558483
Remove unused variable
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 11 Oct 2009 21:06:58 +0200 |
parents | 04e3b502aeb4 |
children | 816fb624801d |
files | mcabber/src/xmpp.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mcabber/src/xmpp.c Sun Oct 11 21:03:40 2009 +0200 +++ b/mcabber/src/xmpp.c Sun Oct 11 21:06:58 2009 +0200 @@ -852,11 +852,11 @@ static void connection_open_cb(LmConnection *connection, gboolean success, gpointer user_data) { - const char *username, *password, *resource, *servername; GError *error; if (success) { - servername = settings_opt_get("server"); + const char *password, *resource; + char *username; username = jid_get_username(settings_opt_get("jid")); password = settings_opt_get("password"); resource = strchr(lm_connection_get_jid(connection),