about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-03-08 18:32:48 +0000
committerJames Booth <boothj5@gmail.com>2014-03-08 18:32:48 +0000
commite9b5d3294b3ccb8e5fb97e1a6e1d129631a72caa (patch)
tree0b8a9c7b309841c614e115ae4cb4806d250fd8b5
parenta94814f0a933af524c7aee0277667e0c41ba7d5c (diff)
downloadprofani-tty-e9b5d3294b3ccb8e5fb97e1a6e1d129631a72caa.tar.gz
Removed unused variables from cmd_join
-rw-r--r--src/command/commands.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 9bfae727..7738e7f2 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -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);