[vlmc-devel] ClipWorkflow: Remove an always false condition

Hugo Beauzée-Luyssen git at videolan.org
Sun Jan 26 22:08:42 CET 2014


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sat Jan 25 18:57:49 2014 +0200| [220cec2ba059d5230f6503430387a52a8927d82b] | committer: Hugo Beauzée-Luyssen

ClipWorkflow: Remove an always false condition

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=220cec2ba059d5230f6503430387a52a8927d82b
---

 src/Workflow/ClipWorkflow.cpp |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/Workflow/ClipWorkflow.cpp b/src/Workflow/ClipWorkflow.cpp
index 80020c4..7f0b09f 100644
--- a/src/Workflow/ClipWorkflow.cpp
+++ b/src/Workflow/ClipWorkflow.cpp
@@ -172,9 +172,6 @@ ClipWorkflow::waitForCompleteInit()
 
     if ( m_state != ClipWorkflow::Rendering && m_state != ClipWorkflow::Error )
     {
-        if ( m_state == ClipWorkflow::Error )
-            return false;
-
         m_initWaitCond->wait( m_stateLock );
 
         if ( m_state == ClipWorkflow::Error )



More information about the Vlmc-devel mailing list