Skip to content

Commit

Permalink
suppress warning
Browse files Browse the repository at this point in the history
  • Loading branch information
masahi authored and Masahiro Masuda committed Mar 28, 2019
1 parent af66383 commit abef41d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/relay/pass/fuse_ops.cc
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ class IndexedForwardGraph::Creator : private ExprVisitor {
CHECK(tuple_type);
bool has_reference = false;
for (auto ty : tuple_type->fields) {
if (auto ref_ty = ty.as<RefTypeNode>()) {
if (ty.as<RefTypeNode>()) {
has_reference = true;
break;
}
Expand Down

0 comments on commit abef41d

Please sign in to comment.