diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2024-03-25 07:46:52 +0100 |
|---|---|---|
| committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-04-12 12:17:07 +0000 |
| commit | 42843876ecb181f5a6176776f62240858b52e493 (patch) | |
| tree | 9405beb3fa956dfcc5c9a70098cc14fd5e76e586 /src/gui/opengl/qopenglprogrambinarycache.cpp | |
| parent | e69cc7d13ae5412d972c201e16fbc5504a18df59 (diff) | |
syncqt: remove dead code
Either the code in the try {} block
- doesn't throw, then the return within the try {} block exits the
function, or it
- throws fileystem_error, then we rethrow in the catch, or it
- throws any other exception, then we leave the function by exception
In no case can control reach the trailing 'return {}'.
Found by Coverity.
Amends 7aecb189d544613ad13c7e7d1207bd7767225a71.
Pick-to: 6.5
Coverity-Id: 444466
Change-Id: I1c1bf752453076724c2fa9367ea5309e741d84ac
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit 73d00d05477fb6da25164b37135bb19a300bea8d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 406c0d3464df1f0427ad2605ed34d9d0b0c022de)
Diffstat (limited to 'src/gui/opengl/qopenglprogrambinarycache.cpp')
0 files changed, 0 insertions, 0 deletions
