diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-10-06 09:38:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2023-10-06 15:24:27 +0200 |
commit | d852e411b52cda24f2d79070798a2fa662bb71f1 (patch) | |
tree | e0423e52bbc5ca5e3be6b295bb2c6e990a96d887 /include/comphelper/errcode.hxx | |
parent | 516f7dafd009988f3fc58041bc265b836f4b7322 (diff) |
cid#1547076 Uninitialized scalar field
Change-Id: Iddccb0a468fd5341115851da1720a8fee97a92f7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157634
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'include/comphelper/errcode.hxx')
-rw-r--r-- | include/comphelper/errcode.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/comphelper/errcode.hxx b/include/comphelper/errcode.hxx index 6e5390b9a09b..3d3773fadf50 100644 --- a/include/comphelper/errcode.hxx +++ b/include/comphelper/errcode.hxx @@ -181,7 +181,7 @@ namespace o3tl class SAL_WARN_UNUSED ErrCodeMsg { public: - ErrCodeMsg() : mnCode(0) {} + ErrCodeMsg() : mnCode(0), mnDialogMask(DialogMask::NONE) {} #ifdef LIBO_ERRMSG_USE_SOURCE_LOCATION ErrCodeMsg(ErrCode code, const OUString& arg, std::experimental::source_location loc = std::experimental::source_location::current()) : mnCode(code), maArg1(arg), mnDialogMask(DialogMask::NONE), moLoc(loc) {} |