提交 8e2cc754 编写于 作者: T Tao Luo 提交者: GitHub

Merge pull request #4667 from PaddlePaddle/reyoung-patch-1

Removed unreached code
...@@ -28,7 +28,6 @@ inline DataType ToDataType(std::type_index type) { ...@@ -28,7 +28,6 @@ inline DataType ToDataType(std::type_index type) {
return DataType::INT32; return DataType::INT32;
} else { } else {
PADDLE_THROW("Not supported"); PADDLE_THROW("Not supported");
return static_cast<DataType>(-1);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册