From 32cb74be3ebea9c9c59602576f45086934308789 Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Mon, 9 Oct 2017 21:06:01 -0700 Subject: [PATCH] Removed unreached code --- paddle/framework/data_type.h | 1 - 1 file changed, 1 deletion(-) diff --git a/paddle/framework/data_type.h b/paddle/framework/data_type.h index 55e3931f87..649899d425 100644 --- a/paddle/framework/data_type.h +++ b/paddle/framework/data_type.h @@ -28,7 +28,6 @@ inline DataType ToDataType(std::type_index type) { return DataType::INT32; } else { PADDLE_THROW("Not supported"); - return static_cast(-1); } } -- GitLab