[vlc-devel] commit: Remove unhandled error warning ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu May 21 19:19:29 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu May 21 20:18:53 2009 +0300| [ff1ededb1774be490d1ef64b3c60ce1753eec94f] | committer: Rémi Denis-Courmont 

Remove unhandled error warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ff1ededb1774be490d1ef64b3c60ce1753eec94f
---

 modules/video_filter/atmo/AtmoThread.cpp |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/modules/video_filter/atmo/AtmoThread.cpp b/modules/video_filter/atmo/AtmoThread.cpp
index 3670d54..34d8b3f 100644
--- a/modules/video_filter/atmo/AtmoThread.cpp
+++ b/modules/video_filter/atmo/AtmoThread.cpp
@@ -11,7 +11,6 @@
 
 CThread::CThread(vlc_object_t *pOwner)
 {
-    int err;
     m_pAtmoThread = (atmo_thread_t *)vlc_object_create( pOwner,
                                                         sizeof(atmo_thread_t) );
     if(m_pAtmoThread)
@@ -22,10 +21,7 @@ CThread::CThread(vlc_object_t *pOwner)
         vlc_object_attach( m_pAtmoThread, m_pOwner);
 
         vlc_mutex_init( &m_TerminateLock );
-        err = vlc_cond_init( &m_TerminateCond );
-        if(err) {
-           msg_Err( m_pAtmoThread, "vlc_cond_init failed %d",err);
-        }
+        vlc_cond_init( &m_TerminateCond );
     }
 }
 




More information about the vlc-devel mailing list