[vlc-commits] commit: ML: No need to initialise (Srikanth Raju )
git at videolan.org
git at videolan.org
Sat Jul 3 20:22:18 CEST 2010
vlc | branch: master | Srikanth Raju <srikiraju at gmail.com> | Sat Jul 3 23:46:43 2010 +0530| [c78c2b56631fb2490884261a580e980a468f0e94] | committer: Srikanth Raju
ML: No need to initialise
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c78c2b56631fb2490884261a580e980a468f0e94
---
src/misc/media_library.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/misc/media_library.c b/src/misc/media_library.c
index 540b7b3..1223ad1 100644
--- a/src/misc/media_library.c
+++ b/src/misc/media_library.c
@@ -78,7 +78,7 @@ static void *ml_gc_init (ml_gc_object_t *p_gc, void (*pf_destruct) (ml_gc_object
*/
media_library_t *ml_Create( vlc_object_t *p_this, char *psz_name )
{
- media_library_t *p_ml = NULL;
+ media_library_t *p_ml;
p_ml = ( media_library_t * ) vlc_custom_create(
p_this, sizeof( media_library_t ),
@@ -110,7 +110,7 @@ media_library_t *ml_Create( vlc_object_t *p_this, char *psz_name )
*/
media_library_t* ml_Hold( vlc_object_t* p_this )
{
- media_library_t* p_ml = NULL;
+ media_library_t* p_ml;
p_ml = libvlc_priv (p_this->p_libvlc)->p_ml;
assert( VLC_OBJECT( p_ml ) != p_this );
if( p_ml == NULL &&
@@ -191,7 +191,7 @@ int ml_UpdateSimple( media_library_t *p_media_library,
const char* psz_lvalue,
int id, ... )
{
- ml_element_t *update = NULL;
+ ml_element_t *update;
vlc_array_t *array = vlc_array_new();
int i_ret = VLC_SUCCESS;
More information about the vlc-commits
mailing list