Initialize idx in QV4::Lookup::indexedGetterFallback()
Change-Id: If7fe6635155937fa3e8c94ac081a267d96563859 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
5ac14981b0
commit
f893d66382
|
@ -130,7 +130,7 @@ ReturnedValue Lookup::indexedGetterFallback(Lookup *l, const Value &object, cons
|
|||
{
|
||||
Q_UNUSED(l);
|
||||
Scope scope(l->engine);
|
||||
uint idx;
|
||||
uint idx = 0;
|
||||
bool isInt = index.asArrayIndex(idx);
|
||||
|
||||
ScopedObject o(scope, object);
|
||||
|
|
Loading…
Reference in New Issue