Commit d93ced6c authored by Robert Kimball's avatar Robert Kimball Committed by Scott Cyphers

Address Klocwork issue (#2914)

parent f813fb6d
......@@ -180,9 +180,9 @@ bool pass::RecurrentGraphRewrite::run_on_function(shared_ptr<Function> f)
{
bool changed = false;
size_t i = 0;
bool is_dyn_func = f->is_dynamic();
auto run_matchers = [&]() -> bool {
bool is_dyn_func = f->is_dynamic();
for (auto node : f->get_ops())
{
for (auto& closure : m_matchers)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment