diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-26 12:02:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-26 13:08:25 +0100 |
commit | 6661ea398523aaadb252abce0eac8a1f4f701ce7 (patch) | |
tree | adf004fdca4f4faa070a7c4bfbb4a49b320e4609 /sw/CppunitTest_sw_apiterminate.mk | |
parent | 4935bb372e3618eca105997c83101aa2b3d422e3 (diff) |
suppress spurious gcc 10 warning
/home/noel/libo3/sw/source/core/txtnode/modeltoviewhelper.cxx: In
constructor ‘ModelToViewHelper::ModelToViewHelper(const SwTextNode&,
const SwRootFrame*, ExpandMode)’:
/home/noel/libo3/sw/source/core/txtnode/modeltoviewhelper.cxx:182:44:
error: ‘*(int*)((char*)&oStartHidden +
offsetof(std::optional<int>,std::optional<int>::<unnamed>.std::_Optional_base<int,
true, true>::<unnamed>))’ may be used uninitialized in this function
[-Werror=maybe-uninitialized]
182 | aHiddenMulti.Select({*oStartHidden, i},
true);
|
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Change-Id: I88480daee070c77463b33dd1387865cc4ebf01cc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128976
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/CppunitTest_sw_apiterminate.mk')
0 files changed, 0 insertions, 0 deletions