diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2025-08-18 11:56:07 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2025-08-19 07:22:09 +0200 |
| commit | 8dfec028f9a269836f50d0a4a3ac27b1b833cd66 (patch) | |
| tree | 891984233c518b4c0ac3006f1312579634e3617a /src/widgets/doc/snippets/cmake-macros/examples.cpp | |
| parent | 96cfb60935f6f10b37bc9fc3fd716693c9a8175b (diff) | |
QTextBoundaryFinder: fix missing initialization of 'unused'
Coverity complained about a missing initialization of the 'unused'
field.
While we don't seem to have any inline API that could possibly depend
on the value of the field, not initializing reserved and unused
members has in the past caused problems for later extensions, so do it
now.
I don't expect problems here, since all SMFs are out-of-line, but
better safe than sorry.
Amends the start of the public history.
Coverity-Id: 11716
Coverity-Id: 11717
Coverity-Id: 11718
Coverity-Id: 444240
Pick-to: 6.10 6.9 6.8
Change-Id: Id25d9bb77fd0f03cdfa8dd809cfe662263b727a4
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/widgets/doc/snippets/cmake-macros/examples.cpp')
0 files changed, 0 insertions, 0 deletions
