mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Removed unused variables from cmd_join
This commit is contained in:
parent
a94814f0a9
commit
e9b5d3294b
@ -1601,8 +1601,6 @@ cmd_join(gchar **args, struct cmd_help_t help)
|
|||||||
char *nick = NULL;
|
char *nick = NULL;
|
||||||
char *passwd = NULL;
|
char *passwd = NULL;
|
||||||
GString *room_str = g_string_new("");
|
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();
|
char *account_name = jabber_get_account_name();
|
||||||
ProfAccount *account = accounts_get_account(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_arg);
|
||||||
jid_destroy(room_jid);
|
jid_destroy(room_jid);
|
||||||
jid_destroy(my_jid);
|
|
||||||
g_string_free(room_str, TRUE);
|
g_string_free(room_str, TRUE);
|
||||||
account_free(account);
|
account_free(account);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user