1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Fixed compiler warning

This commit is contained in:
James Booth 2014-06-03 21:48:38 +01:00
parent 1925cb80ec
commit d0fa51fe67

View File

@ -1382,15 +1382,12 @@ cmd_info(gchar **args, struct cmd_help_t help)
jabber_conn_status_t conn_status = jabber_get_connection_status(); jabber_conn_status_t conn_status = jabber_get_connection_status();
win_type_t win_type = ui_current_win_type(); win_type_t win_type = ui_current_win_type();
PContact pcontact = NULL; PContact pcontact = NULL;
char *recipient;
if (conn_status != JABBER_CONNECTED) { if (conn_status != JABBER_CONNECTED) {
cons_show("You are not currently connected."); cons_show("You are not currently connected.");
return TRUE; return TRUE;
} }
recipient = ui_current_recipient();
switch (win_type) switch (win_type)
{ {
case WIN_MUC: case WIN_MUC: