[vlc-commits] Remove impossible error

Rémi Denis-Courmont git at videolan.org
Thu Apr 7 16:56:33 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Apr  7 17:53:00 2011 +0300| [ed94986fa4e397d049c0c59b3b8326e7d71afeb9] | committer: Rémi Denis-Courmont

Remove impossible error

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

 src/audio_output/intf.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/audio_output/intf.c b/src/audio_output/intf.c
index bffbc17..0abe950 100644
--- a/src/audio_output/intf.c
+++ b/src/audio_output/intf.c
@@ -185,8 +185,6 @@ int aout_VolumeGet( vlc_object_t * p_object, audio_volume_t * pi_volume )
     int i_result = 0;
     aout_instance_t * p_aout = findAout( p_object );
 
-    if ( pi_volume == NULL ) return -1;
-
     if ( p_aout == NULL )
     {
         *pi_volume = (audio_volume_t)config_GetInt( p_object, "volume" );



More information about the vlc-commits mailing list