about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/command/commands.c3
-rw-r--r--src/config/preferences.c1
-rw-r--r--src/muc.c1
-rw-r--r--src/ui/buffer.c1
-rw-r--r--src/ui/core.c7
-rw-r--r--src/ui/ui.h1
6 files changed, 2 insertions, 12 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index fcb55a69..6c5fa3ed 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -1019,7 +1019,8 @@ cmd_help(ProfWin *window, const char *const command, gchar **args)
 gboolean
 cmd_about(ProfWin *window, const char *const command, gchar **args)
 {
-    ui_about();
+    cons_show("");
+    cons_about();
     return TRUE;
 }
 
diff --git a/src/config/preferences.c b/src/config/preferences.c
index 5ac4652b..3ff9a589 100644
--- a/src/config/preferences.c
+++ b/src/config/preferences.c
@@ -203,7 +203,6 @@ prefs_free_string(char *pref)
     if (pref) {
         g_free(pref);
     }
-    pref = NULL;
 }
 
 
diff --git a/src/muc.c b/src/muc.c
index 1ceb7ce0..0d84e7f6 100644
--- a/src/muc.c
+++ b/src/muc.c
@@ -976,6 +976,5 @@ _occupant_free(Occupant *occupant)
         free(occupant->jid);
         free(occupant->status);
         free(occupant);
-        occupant = NULL;
     }
 }
diff --git a/src/ui/buffer.c b/src/ui/buffer.c
index 20528de4..629aa9e7 100644
--- a/src/ui/buffer.c
+++ b/src/ui/buffer.c
@@ -76,7 +76,6 @@ buffer_free(ProfBuff buffer)
 {
     g_slist_free_full(buffer->entries, (GDestroyNotify)_free_entry);
     free(buffer);
-    buffer = NULL;
 }
 
 void
diff --git a/src/ui/core.c b/src/ui/core.c
index 645ed4eb..8d19f5b4 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -151,13 +151,6 @@ ui_update(void)
     }
 }
 
-void
-ui_about(void)
-{
-    cons_show("");
-    cons_about();
-}
-
 unsigned long
 ui_get_idle_time(void)
 {
diff --git a/src/ui/ui.h b/src/ui/ui.h
index 16bdfa0b..c7e3a8ee 100644
--- a/src/ui/ui.h
+++ b/src/ui/ui.h
@@ -230,7 +230,6 @@ void ui_titlebar_presence(contact_presence_t presence);
 void ui_handle_login_account_success(ProfAccount *account, int secured);
 void ui_update_presence(const resource_presence_t resource_presence,
     const char *const message, const char *const show);
-void ui_about(void);
 void ui_statusbar_new(const int win);
 
 char* ui_readline(void);