From f41378af8c463f2f49f3a04bcbc39419b83c9553 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 18 Feb 2015 14:54:22 +0100 Subject: Fixed clang (svn trunk) warnings --- passes/techmap/libparse.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'passes') 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; -- cgit v1.2.3