Fix uninitialized memory read in tst_qqmlecmascript::include auto-test
authorSimon Hausmann <simon.hausmann@digia.com>
Sat, 1 Jun 2013 19:47:43 +0000 (21:47 +0200)
committerLars Knoll <lars.knoll@digia.com>
Sun, 2 Jun 2013 13:14:02 +0000 (15:14 +0200)
commit1aaf8cd044d310fe7058601b703fa98ce6165c3a
tree83670f85b2857b2679abe1b800b512d47fbf7ec1
parent9693bfc546a5ba40f1756d61eb41b0beccbf8432
Fix uninitialized memory read in tst_qqmlecmascript::include auto-test

Make sure to initialize the callback variable, in the unlikely (but possible)
event of it not getting initialized otherwise.

Change-Id: Ic8bbf90b825157e55bb93dd9e600ff22ca11b911
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/v4/qv4include.cpp