Return an error value correctly 72/233072/1
authorInki Dae <inki.dae@samsung.com>
Mon, 11 May 2020 09:28:42 +0000 (18:28 +0900)
committerInki Dae <inki.dae@samsung.com>
Tue, 12 May 2020 03:25:14 +0000 (12:25 +0900)
Change-Id: I4b2f9fd312626277ffa98b391ef8d8229038a0fc
Signed-off-by: Inki Dae <inki.dae@samsung.com>
src/inference_engine_common_impl.cpp

index f1bd55053e56457a0c5309c3238529a8e2f26096..a5b03a8dd511365abce8b7c1b4b9ca4876c34a57 100755 (executable)
@@ -261,7 +261,7 @@ int InferenceEngineCommon::Load(std::vector<std::string> model_paths, inference_
 
     LOGI("LEAVE");
 
-    return INFERENCE_ENGINE_ERROR_NONE;
+    return ret;
 }
 
 int InferenceEngineCommon::GetInputTensorBuffers(std::vector<inference_engine_tensor_buffer> &buffers)