diff options
| author | Marc Mutz <[email protected]> | 2025-10-28 16:11:13 +0100 |
|---|---|---|
| committer | Ahmad Samir <[email protected]> | 2025-10-28 20:32:47 +0000 |
| commit | 56c6a74c21ac7e263e028be1a199f95116015683 (patch) | |
| tree | 2d608c940c7a2a3371b42d9825b09540dbacdbe6 /examples/xml/streambookmarks | |
| parent | 4ab2818b91ad197af5b2850747ae85575a629178 (diff) | |
tst_Collections: fix Clang -Wuninitialized-const-pointer
Says Clang:
tst_collections.cpp:661:22: warning: variable 'i' is uninitialized when passed as a const pointer argument here [-Wuninitialized-const-pointer]
661 | list.append(&i);
| ^
Fix by initializing the variables. The test does not depend on the
`i`s to be uninitialized, so this will change nothing, except execute
a bit slower and throw no warning.
Amends the start of the public history.
Pick-to: 6.10 6.8 6.5
Change-Id: I8e8b36be484eefc6a18cf9b2d9a0c504b324aef8
Reviewed-by: Ahmad Samir <[email protected]>
Diffstat (limited to 'examples/xml/streambookmarks')
0 files changed, 0 insertions, 0 deletions
