Commit 9fb39ec4 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

fix cppcheck error

parent 83181ddc
...@@ -118,8 +118,8 @@ TEST_CASE(two_transpose_gather) ...@@ -118,8 +118,8 @@ TEST_CASE(two_transpose_gather)
return m; return m;
}; };
auto m = create_module(); auto mdl = create_module();
run_pass(m); run_pass(mdl);
auto create_cont_module = [] { auto create_cont_module = [] {
migraphx::module m; migraphx::module m;
...@@ -138,7 +138,7 @@ TEST_CASE(two_transpose_gather) ...@@ -138,7 +138,7 @@ TEST_CASE(two_transpose_gather)
return m; return m;
}; };
EXPECT(m == create_cont_module()); EXPECT(mdl == create_cont_module());
} }
int main(int argc, const char* argv[]) { test::run(argc, argv); } int main(int argc, const char* argv[]) { test::run(argc, argv); }
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