From 4fb991d07c0461ae39826392ae97b463a469b4de Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 14 Aug 2012 19:16:27 +0200 Subject: [PATCH] core: fix use of uninitialized variable in hdata_get_var_array_size --- src/core/wee-hdata.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/wee-hdata.c b/src/core/wee-hdata.c index 53d0cbcaa..3ed13b526 100644 --- a/src/core/wee-hdata.c +++ b/src/core/wee-hdata.c @@ -219,6 +219,7 @@ hdata_get_var_array_size (struct t_hdata *hdata, void *pointer, i = 0; while (1) { + ptr_value = NULL; switch (type) { case WEECHAT_HDATA_STRING: