diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-21 14:31:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-11-21 17:59:51 +0100 |
commit | 06654099e9a208f23a98bcf4d2a4c3b6d8798ec4 (patch) | |
tree | 2d476378df0d63548a4d74d245693d0218be4de9 /configmgr | |
parent | c95f406fcde65e383cff90842ff66e55bfabfc79 (diff) |
asan: fix read of uninitialised value
ever since
commit a91892ec4942fc875820ea02dfbe74e986548142
Author: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Date: Thu Nov 16 13:56:06 2023 +0100
Use existing types, instead of strings
Change-Id: Ifb7af17d21a32fdf411854b6820b32d1767660e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159779
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/xcsparser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configmgr/source/xcsparser.cxx b/configmgr/source/xcsparser.cxx index 2acf4125e186..d4e35cc75c39 100644 --- a/configmgr/source/xcsparser.cxx +++ b/configmgr/source/xcsparser.cxx @@ -109,7 +109,7 @@ void merge( } XcsParser::XcsParser(int layer, Data & data): - valueParser_(layer), data_(data), state_(STATE_START), ignoring_(), bIsParsingInfo_(false) + valueParser_(layer), data_(data), state_(STATE_START), ignoring_(), bIsParsingInfo_(false), type_(TYPE_ERROR) {} XcsParser::~XcsParser() {} |