aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/libparse.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-02-18 14:54:22 +0100
committerClifford Wolf <clifford@clifford.at>2015-02-18 14:54:22 +0100
commitf41378af8c463f2f49f3a04bcbc39419b83c9553 (patch)
treec20a76ed5ddb0c00ff65a19178c6916ac39f1e31 /passes/techmap/libparse.cc
parente4cf604ffda0033c0c0509421eeb6fb39bb975b5 (diff)
downloadyosys-f41378af8c463f2f49f3a04bcbc39419b83c9553.tar.gz
yosys-f41378af8c463f2f49f3a04bcbc39419b83c9553.tar.bz2
yosys-f41378af8c463f2f49f3a04bcbc39419b83c9553.zip
Fixed clang (svn trunk) warnings
Diffstat (limited to 'passes/techmap/libparse.cc')
-rw-r--r--passes/techmap/libparse.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/passes/techmap/libparse.cc b/passes/techmap/libparse.cc
index 50d31ab5a..f84ce4802 100644
--- a/passes/techmap/libparse.cc
+++ b/passes/techmap/libparse.cc
@@ -43,8 +43,6 @@ LibertyAst::~LibertyAst()
LibertyAst *LibertyAst::find(std::string name)
{
- if (this == NULL)
- return NULL;
for (auto child : children)
if (child->id == name)
return child;