[CI/FIX] Fix potentially uninitialised key-values

This commit is contained in:
LDA 2024-10-29 14:51:58 +01:00
commit cf3bb5260b

View file

@ -22,7 +22,7 @@ MUCSetKey(XMPPCommandManager *m, char *from, XMLElement *form, XMLElement *out)
char *chat_id;
char *muc;
char *key, *val;
char *key = NULL, *val = NULL;
ParseeLookupAffiliation(from, &affiliation, &role);
Free(role);