[vlc-devel] commit: Setting a local var to NULL right before exiting the function is useless. (Antoine Cellerier )

git version control git at videolan.org
Mon Jun 2 18:59:09 CEST 2008


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Mon Jun  2 16:44:03 2008 +0200| [f4c4d8d2f03eefa4333203c35d1cb0ebf433438f]

Setting a local var to NULL right before exiting the function is useless.

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

 src/misc/image.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/misc/image.c b/src/misc/image.c
index 728ba10..1690ff8 100644
--- a/src/misc/image.c
+++ b/src/misc/image.c
@@ -790,5 +790,4 @@ static void DeleteFilter( filter_t * p_filter )
     es_format_Clean( &p_filter->fmt_out );
 
     vlc_object_release( p_filter );
-    p_filter = NULL;
 }




More information about the vlc-devel mailing list