sc/inc/refdata.hxx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
New commits: commit e60909e5d3d7f3d38c92237a7db6bbb267ef71a0 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Feb 12 10:46:58 2021 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Fri Feb 12 15:33:40 2021 +0100 cid#1472119 Uninitialized scalar field experiment to see what coverity does with this syntax Change-Id: I028a111ceee5b327a04979b5497a4bc2e1e61819 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110808 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sc/inc/refdata.hxx b/sc/inc/refdata.hxx index 474a3ffe703a..7674794a9a80 100644 --- a/sc/inc/refdata.hxx +++ b/sc/inc/refdata.hxx @@ -124,12 +124,7 @@ struct ScComplexRefData { ScSingleRefData Ref1; ScSingleRefData Ref2; - bool bTrimToData; - - ScComplexRefData() : - bTrimToData(false) - // coverity[uninit_member] - remainder intentionally not initialized - {} + bool bTrimToData = false; void InitFlags() { Ref1.InitFlags(); Ref2.InitFlags(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits