about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorThorben Günther <admin@xenrox.net>2021-07-01 21:32:23 +0200
committerThorben Günther <admin@xenrox.net>2021-07-01 21:32:23 +0200
commit34b5e0f8c60c2319782835f3b58033c460e45ae3 (patch)
treea65406b492830f367aa78b3cd64cbd9202419137
parent516fd7d90965e46a3f5fee20b97e3f243d14a339 (diff)
downloadprofani-tty-34b5e0f8c60c2319782835f3b58033c460e45ae3.tar.gz
Initialize jid
-rw-r--r--src/command/cmd_funcs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index e8b80534..8e474e2b 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -3050,8 +3050,8 @@ cmd_blocked(ProfWin* window, const char* const command, gchar** args)
     }
 
     if (strncmp(args[0], "report-", 7) == 0) {
-        char *jid;
-        char *msg = NULL;
+        char* jid = NULL;
+        char* msg = NULL;
         guint argn = g_strv_length(args);
 
         if (argn >= 2) {