From 80181a1dde1b02e84eec540209de52622091bd07 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 19 Sep 2018 12:18:11 +0200 Subject: [PATCH] standard --- .../modules/forLoopIteratesOverDynamicArray.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/remix-analyzer/src/solidity-analyzer/modules/forLoopIteratesOverDynamicArray.js b/remix-analyzer/src/solidity-analyzer/modules/forLoopIteratesOverDynamicArray.js index dbbcb90d58..3de397a85e 100644 --- a/remix-analyzer/src/solidity-analyzer/modules/forLoopIteratesOverDynamicArray.js +++ b/remix-analyzer/src/solidity-analyzer/modules/forLoopIteratesOverDynamicArray.js @@ -8,11 +8,11 @@ function forLoopIteratesOverDynamicArray () { } forLoopIteratesOverDynamicArray.prototype.visit = function (node) { - if (common.isForLoop(node) && - node.children[1].children[1].attributes.member_name === 'length' && - node.children[1].children[1].children[0].attributes.type.indexOf('[]') !== -1) { - this.relevantNodes.push(node) - } + if (common.isForLoop(node) && + node.children[1].children[1].attributes.member_name === 'length' && + node.children[1].children[1].children[0].attributes.type.indexOf('[]') !== -1) { + this.relevantNodes.push(node) + } } forLoopIteratesOverDynamicArray.prototype.report = function (compilationResults) {