CFG remove unused rules
This commit is contained in:
parent
e6d9439ba9
commit
b205438601
3 changed files with 20 additions and 0 deletions
|
|
@ -157,6 +157,7 @@ namespace tp {
|
|||
[[nodiscard]] Node* find(const TypeArg data) const {
|
||||
Node* found = mFirst;
|
||||
for (alni i = 0; data != found->data; i++) {
|
||||
if (i == length()) return nullptr;
|
||||
if (!found->next) {
|
||||
return nullptr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue