1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 21:36:37 +02:00

trigger: properly initialize variable "value" to NULL

This commit is contained in:
Sébastien Helleu
2022-11-19 20:29:02 +01:00
parent 11a5e0a627
commit b636f55b8b
+1
View File
@@ -357,6 +357,7 @@ trigger_callback_regex (struct t_trigger *trigger,
const char *ptr_key, *ptr_value;
int i, pointers_allocated;
value = NULL;
pointers_allocated = 0;
if (trigger->regex_count == 0)