path: root/src/plugins/platforms
diff options
authorMarc Mutz <>2022-01-22 21:07:21 +0100
committerMarc Mutz <>2022-01-25 03:48:46 +0100
commitbe0dc7fbb8c0c1ead7eeeb9aefea6c081beeacdc (patch)
tree2c7a6fe40e6059478a4ea60a720195d569fd5318 /src/plugins/platforms
parentb5124d9719ff5609832e02cd2b555966a6646b8f (diff)
QMake: replace a Q_ASSERT() with a Q_UNREACHABLE()
In release mode, the Q_ASSERT() is a no-op, and Clang rightfully pointed out that, in that case, the bool ok variable will be used uninitialized. Fix by using Q_UNREACHABLE(), which has an effect in both debug and release builds. Pick-to: 6.3 6.2 5.15 Change-Id: I33480aabe1c5233d1caddf9404f475ca9fcb8eaf Reviewed-by: Fabian Kosmale <> Reviewed-by: Thiago Macieira <>
Diffstat (limited to 'src/plugins/platforms')
0 files changed, 0 insertions, 0 deletions