summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2021-02-23 14:48:12 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2021-02-24 11:51:47 +0100
commit1f6dbbd53969837cc4ff59f39dbb4c06d700a689 (patch)
treea9147248e892475a94d8b4d9a675d397aed24948 /tests
parent52b5e9b76663fa7b43da1466fb2678d6b18d86b2 (diff)
Assert that we have a layout before dereferencing
Since we test the pointer in the beginning, it might be nullptr. But if we receive events that require a layout, then it must not be nullptr. Assert that assumption. Address static analyzer warning 06f8cc945ead26f20c6b9599faf76c83. Pick-to: 6.1 Change-Id: I1c6eb9e9d2c9444fcb9bd1d1d9c345237dc72b33 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions