QLabel *l is declared uninitialized, assigned in a for loop. The last object is deleted for testing purposes. This leads to a false compiler warning about deleting a potentially unintialized pointer. => initialize with nullptr to silence the warning. Pick-to: 6.5 6.6 Change-Id: I1422b04fc1fdbfc7248de577884aabfb539f3f4b Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| BLACKLIST | ||
| CMakeLists.txt | ||
| extradata.txt | ||
| setSizes3.dat | ||
| tst_qsplitter.cpp | ||