summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2021-08-18 17:50:44 +0200
committerIvan Solovev <ivan.solovev@qt.io>2021-08-23 12:32:25 +0200
commitfd9a94594fc42347e1b08f83ae62e7d42aee1e6b (patch)
treed695dd045d7b8ff2d14df2e25282e8024eb9bf98 /doc
parent77bdce84965662a67162d1272245b168c96875db (diff)
QDir: add assert for nullptr ok parameter in qt_cleanPath
Found by CodeChecker. The function returns early in case of empty path, but the bool parameter is never updated in this case. It's not a problem with the current codebase though. As it's a static local function, the reasonable solution is just to add an assert, so that we do not get hit in case of refactoring. Task-number: QTBUG-95727 Pick-to: 6.2 Change-Id: Idc00356c61b5db8b2204a574612c1ea8e65f4a69 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions