Skip to content

Commit 27f0345

Browse files
authored
solve [Wswitch] warning info (#125)
Signed-off-by: haoshengqiang <[email protected]>
1 parent e434056 commit 27f0345

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

onnxoptimizer/passes/cse_util.h

+2
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ inline bool IsSupportedByCSE(const Node* n) {
125125
case AttributeKind::tp:
126126
case AttributeKind::tps:
127127
return false;
128+
default:
129+
break;
128130
}
129131
}
130132
return true;

0 commit comments

Comments
 (0)