diff options
author | whitequark <whitequark@whitequark.org> | 2021-07-14 12:00:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-14 12:00:30 +0000 |
commit | 9008b87c39da829c75a66e78fd12c117d199351d (patch) | |
tree | 4608e2c990244a03897b2b63c65c680c2a2f22c5 | |
parent | 8bf9cb407d929255ae985b33a537ac6d489553c5 (diff) | |
parent | 88f20fa4dd6ec534cb30c4663d53e1f4d90ac07b (diff) | |
download | yosys-9008b87c39da829c75a66e78fd12c117d199351d.tar.gz yosys-9008b87c39da829c75a66e78fd12c117d199351d.tar.bz2 yosys-9008b87c39da829c75a66e78fd12c117d199351d.zip |
Merge pull request #2866 from rswarbrick/found-init
Delete unused found_init variable
-rw-r--r-- | passes/proc/proc_init.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/passes/proc/proc_init.cc b/passes/proc/proc_init.cc index 841bce400..4da20c395 100644 --- a/passes/proc/proc_init.cc +++ b/passes/proc/proc_init.cc @@ -28,12 +28,9 @@ PRIVATE_NAMESPACE_BEGIN void proc_init(RTLIL::Module *mod, SigMap &sigmap, RTLIL::Process *proc) { - bool found_init = false; - for (auto &sync : proc->syncs) if (sync->type == RTLIL::SyncType::STi) { - found_init = true; log("Found init rule in `%s.%s'.\n", mod->name.c_str(), proc->name.c_str()); for (auto &action : sync->actions) |