From 2f32fa09efad068a54246ecedadb2e0ceef513d7 Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Fri, 16 May 2014 12:39:48 +0100 Subject: [PATCH] fix minor warning --- source/app/ModulesHandle.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/app/ModulesHandle.cpp b/source/app/ModulesHandle.cpp index a0b1e0b..e22e506 100644 --- a/source/app/ModulesHandle.cpp +++ b/source/app/ModulesHandle.cpp @@ -104,7 +104,7 @@ SubWindowHandle* ModulesHandle::toggleSelectedModuleIf() PlaYUVerFrame* ModulesHandle::applyModuleIf( PlaYUVerModuleIf *pcCurrModuleIf ) { - PlaYUVerFrame* processedFrame; + PlaYUVerFrame* processedFrame = NULL; switch( pcCurrModuleIf->m_cModuleDef.m_uiNumberOfFrames ) { @@ -112,8 +112,10 @@ PlaYUVerFrame* ModulesHandle::applyModuleIf( PlaYUVerModuleIf *pcCurrModuleIf ) processedFrame = pcCurrModuleIf->process( pcCurrModuleIf->m_pcSubWindow[0]->getCurrFrame() ); break; case MODULE_REQUIRES_TWO_FRAMES: + processedFrame = NULL; break; case MODULE_REQUIRES_THREE_FRAMES: + processedFrame = NULL; break; } if( pcCurrModuleIf->m_pcDisplaySubWindow )