fixed coverity issues
[platform/adaptation/ap_samsung/libomxil-e3250-v4l2.git] / openmax / component / common / Exynos_OMX_Resourcemanager.c
index 279a436..3d2a9c8 100755 (executable)
@@ -139,7 +139,7 @@ int searchLowPriority(EXYNOS_OMX_RM_COMPONENT_LIST *RMComp_list, OMX_U32 inComp_
     EXYNOS_OMX_RM_COMPONENT_LIST *pCandidateComp = NULL;
 
     if (RMComp_list == NULL)
-        ret = -1;
+        return -1;
 
     pTempComp = RMComp_list;
     *outLowComp = 0;