1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Initialize jid

This commit is contained in:
Thorben Günther 2021-07-01 21:32:23 +02:00
parent 516fd7d909
commit 34b5e0f8c6
No known key found for this signature in database
GPG Key ID: 415CD778D8C5AFED

View File

@ -3050,8 +3050,8 @@ cmd_blocked(ProfWin* window, const char* const command, gchar** args)
} }
if (strncmp(args[0], "report-", 7) == 0) { if (strncmp(args[0], "report-", 7) == 0) {
char *jid; char* jid = NULL;
char *msg = NULL; char* msg = NULL;
guint argn = g_strv_length(args); guint argn = g_strv_length(args);
if (argn >= 2) { if (argn >= 2) {