mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Fixed clang (svn trunk) warnings
This commit is contained in:
parent
e4cf604ffd
commit
f41378af8c
2 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue