aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlglobal_p.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-02-08 09:03:08 +0100
committerHolger Freyther <holger+qt@freyther.de>2015-02-18 07:40:49 +0000
commit3fcb6ccac0baa34b820534184f863884e072cfb2 (patch)
tree601f23d7c2f961caa51d386ea2c67e5eb55ef233 /src/qml/qml/qqmlglobal_p.h
parent20c207815a0c942e1f66966cbeedcb0cd332e3b5 (diff)
NamedNodeMap: Remove logically dead code
The code has been changed by Lars in the git commit 47fbcb47771a36ab9fd0a4d5ede7b7504ab1410d. Now "r->engine()" is called before the "if (!r)" check is being executed. We can assume that "m->as<NamedNodeMap>()" will always return a non nullptr and this allows us to remove the extra null check. Fixes CID: 86703 Change-Id: Ib4f1103e38c7e1e8e5175d91e795d2621e3a79c4 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlglobal_p.h')
0 files changed, 0 insertions, 0 deletions