1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

Removed unused variables from cmd_join

This commit is contained in:
James Booth 2014-03-08 18:32:48 +00:00
parent a94814f0a9
commit e9b5d3294b

View File

@ -1601,8 +1601,6 @@ cmd_join(gchar **args, struct cmd_help_t help)
char *nick = NULL;
char *passwd = NULL;
GString *room_str = g_string_new("");
const char *full_jid = jabber_get_fulljid();
Jid *my_jid = jid_create(full_jid);
char *account_name = jabber_get_account_name();
ProfAccount *account = accounts_get_account(account_name);
@ -1668,7 +1666,6 @@ cmd_join(gchar **args, struct cmd_help_t help)
jid_destroy(room_arg);
jid_destroy(room_jid);
jid_destroy(my_jid);
g_string_free(room_str, TRUE);
account_free(account);