[vlc-devel] commit: qt4: remove dummy error messages ( Rémi Denis-Courmont )

git version control git at videolan.org
Fri Jun 20 20:06:39 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Fri Jun 20 21:06:01 2008 +0300| [39cbef1f76d2b8a75f1a3e6d0edb983ce63f29b1]

qt4: remove dummy error messages

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

 modules/gui/qt4/main_interface.cpp |    1 -
 modules/gui/qt4/qt4.cpp            |    3 ---
 2 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 33f883d..2da99b0 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -441,7 +441,6 @@ void MainInterface::handleMainUi( QSettings *settings )
         vlc_value_t val;
         val.p_address = this;
         var_Set( p_intf, "window_widget", val );
-        msg_Err( p_intf, "window_widget = %p", this);
     }
 
     /* Finish the sizing */
diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp
index 6dfe0f9..f4db67a 100644
--- a/modules/gui/qt4/qt4.cpp
+++ b/modules/gui/qt4/qt4.cpp
@@ -230,10 +230,7 @@ static int Open( vlc_object_t *p_this )
 
     p_intf->p_sys = (intf_sys_t *)malloc( sizeof( intf_sys_t ) );
     if( !p_intf->p_sys )
-    {
-        msg_Err( p_intf, "Out of memory" );
         return VLC_ENOMEM;
-    }
     memset( p_intf->p_sys, 0, sizeof( intf_sys_t ) );
 
     p_intf->pf_run = Run;




More information about the vlc-devel mailing list