diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-08-14 19:16:27 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-08-14 19:16:27 +0200 |
commit | 4fb991d07c0461ae39826392ae97b463a469b4de (patch) | |
tree | bc97343b7a5bee5590df42485073da6d3db3571c | |
parent | f39bd3128c1590e647b5b8de8d95fa46a6295ffd (diff) | |
download | weechat-4fb991d07c0461ae39826392ae97b463a469b4de.zip |
core: fix use of uninitialized variable in hdata_get_var_array_size
-rw-r--r-- | src/core/wee-hdata.c | 1 |
1 files changed, 1 insertions, 0 deletions
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: |