From 852112cda81a861e7895de00233ea20b86c80a82 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 27 Oct 2012 17:40:17 +0100 Subject: [PATCH] Removed _shutdown function in profanity.c --- src/command.c | 2 +- src/profanity.c | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/command.c b/src/command.c index b30e9cae..d5245e0d 100644 --- a/src/command.c +++ b/src/command.c @@ -272,7 +272,7 @@ static struct cmd_t setting_commands[] = "Config file section : [ui]", "Config file value : showsplash=true|false", NULL } } }, - + { "/vercheck", _cmd_vercheck, { "/vercheck [on|off]", "Check for a new release.", diff --git a/src/profanity.c b/src/profanity.c index 1045662b..c13e13a9 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -44,7 +44,6 @@ static void _create_config_directory(); static void _free_roster_entry(jabber_roster_entry *entry); static void _init(const int disable_tls, char *log_level); static void _shutdown_init(void); -static void _shutdown(void); void prof_run(const int disable_tls, char *log_level) @@ -302,12 +301,6 @@ _shutdown_init(void) jabber_free_resources(); } - _shutdown(); -} - -static void -_shutdown(void) -{ contact_list_clear(); gui_close(); chat_log_close();