From 59acf2ed17ac664ac29f0b9fafdd906866d0ad1b Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 30 Mar 2015 16:41:46 +0200 Subject: [PATCH] resourcemanager: Fix memset warning. Change-Id: I286e775723eba09f5686f8ab71a0f3ce40e12bb9 Signed-off-by: Andreas Schneider --- component/common/Exynos_OMX_Resourcemanager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/component/common/Exynos_OMX_Resourcemanager.c b/component/common/Exynos_OMX_Resourcemanager.c index c040b6a..4ac9bd5 100644 --- a/component/common/Exynos_OMX_Resourcemanager.c +++ b/component/common/Exynos_OMX_Resourcemanager.c @@ -301,8 +301,8 @@ OMX_ERRORTYPE Exynos_OMX_ResourceManager_Init() if (ret == OMX_ErrorNone) { Exynos_OSAL_MutexLock(ghVideoRMComponentListMutex); - Exynos_OSAL_Memset(gpRMList, NULL, (sizeof(EXYNOS_OMX_RM_COMPONENT_LIST*) * RESOURCE_MAX)); - Exynos_OSAL_Memset(gpRMWaitList, NULL, (sizeof(EXYNOS_OMX_RM_COMPONENT_LIST*) * RESOURCE_MAX)); + Exynos_OSAL_Memset(gpRMList, 0, (sizeof(EXYNOS_OMX_RM_COMPONENT_LIST*) * RESOURCE_MAX)); + Exynos_OSAL_Memset(gpRMWaitList, 0, (sizeof(EXYNOS_OMX_RM_COMPONENT_LIST*) * RESOURCE_MAX)); Exynos_OSAL_MutexUnlock(ghVideoRMComponentListMutex); } -- 2.20.1