From d16b235865cbfafe31f7445b64e07904643a61db Mon Sep 17 00:00:00 2001 From: Inki Dae Date: Mon, 11 May 2020 18:28:42 +0900 Subject: [PATCH] Return an error value correctly Change-Id: I4b2f9fd312626277ffa98b391ef8d8229038a0fc Signed-off-by: Inki Dae --- src/inference_engine_common_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inference_engine_common_impl.cpp b/src/inference_engine_common_impl.cpp index f1bd550..a5b03a8 100755 --- a/src/inference_engine_common_impl.cpp +++ b/src/inference_engine_common_impl.cpp @@ -261,7 +261,7 @@ int InferenceEngineCommon::Load(std::vector model_paths, inference_ LOGI("LEAVE"); - return INFERENCE_ENGINE_ERROR_NONE; + return ret; } int InferenceEngineCommon::GetInputTensorBuffers(std::vector &buffers) -- 2.34.1