aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <[email protected]>2015-06-07 11:37:49 +0200
committerSimon Hausmann <[email protected]>2015-06-10 04:26:03 +0000
commitf12c07216e25f9a326000e45583b9d5216945ee7 (patch)
treea3c4defb16ff3a5ec2fda6f308f8de08a7ec9e1c /src/quick
parent1e1a76b88192713bbdfd3b81f7310d496a644e9c (diff)
Add an assert and simplify the code
QV4::QObjectWrapper::wrap will unconditionally dereference the engine. So simply assert that there is an engine. Fixes Coverity CID 10631. Change-Id: Ia645e32813b351abce1df06cfb63ef8ef956b9a6 Reviewed-by: Simon Hausmann <[email protected]>
Diffstat (limited to 'src/quick')
0 files changed, 0 insertions, 0 deletions