From: Inki Dae Date: Wed, 28 Apr 2021 05:15:49 +0000 (+0900) Subject: Fix svace issue X-Git-Tag: submit/tizen/20210428.062907^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F98%2F257598%2F1;p=platform%2Fcore%2Fmultimedia%2Finference-engine-mlapi.git Fix svace issue This patch initializes uninitialized two variables. Change-Id: I00aadafa97738a6f7c13417856c906556b92ee9a Signed-off-by: Inki Dae --- diff --git a/src/inference_engine_mlapi.cpp b/src/inference_engine_mlapi.cpp index 213bc8d..397a029 100644 --- a/src/inference_engine_mlapi.cpp +++ b/src/inference_engine_mlapi.cpp @@ -146,8 +146,8 @@ namespace MLAPIImpl // TODO. Set NNFW backend type and HW type properly. - ml_nnfw_type_e nnfw_type; - ml_nnfw_hw_e nnfw_hw; + ml_nnfw_type_e nnfw_type = ML_NNFW_TYPE_NNFW; + ml_nnfw_hw_e nnfw_hw = ML_NNFW_HW_ANY; switch (mPluginType) { case INFERENCE_BACKEND_NPU_VIVANTE: