summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-07-22 14:08:31 +0300
committerAndrei Karas <akaras@inbox.ru>2015-07-22 14:08:31 +0300
commit4ca1b935eb5c8ffaf6096cba2bd29477d7efec66 (patch)
treeb9ea0b27603f8dd392d82cf19ace4d2ad75e7029 /src
parente4cc6e7e74e103bef8b50e272bc82d87ce9c8d35 (diff)
downloadparanucker-4ca1b935eb5c8ffaf6096cba2bd29477d7efec66.tar.gz
paranucker-4ca1b935eb5c8ffaf6096cba2bd29477d7efec66.tar.bz2
paranucker-4ca1b935eb5c8ffaf6096cba2bd29477d7efec66.tar.xz
paranucker-4ca1b935eb5c8ffaf6096cba2bd29477d7efec66.zip
Remove from checking for null pointers COMPONENT_REF node.
Checks must happend from parent node.
Diffstat (limited to 'src')
-rw-r--r--src/analysis/ref.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/analysis/ref.cpp b/src/analysis/ref.cpp
index 65cb805..4c8a4be 100644
--- a/src/analysis/ref.cpp
+++ b/src/analysis/ref.cpp
@@ -48,6 +48,7 @@ void analyseComponentRef(ComponentRefNode *node,
if (!node->object || checkCommand(FindArgs))
return;
+/*
Node *arg = skipNop(node->object);
if (arg == INDIRECT_REF)
{
@@ -55,6 +56,7 @@ void analyseComponentRef(ComponentRefNode *node,
static_cast<IndirectRefNode*>(arg)->ref,
wi);
}
+*/
}
}