diff src/view_dir_list.c @ 780:44128da39e13

Drop initialization to NULL since filelist_read() will take care of it.
author zas_
date Tue, 03 Jun 2008 11:24:16 +0000
parents 9973edfd86f6
children d6a7fb4b8e7c
line wrap: on
line diff
--- a/src/view_dir_list.c	Tue Jun 03 09:41:00 2008 +0000
+++ b/src/view_dir_list.c	Tue Jun 03 11:24:16 2008 +0000
@@ -219,10 +219,8 @@
 	vd->path = g_strdup(path);
 
 	filelist_free(VDLIST_INFO(vd, list));
-	VDLIST_INFO(vd, list) = NULL;
 
 	ret = filelist_read(vd->path, NULL, &VDLIST_INFO(vd, list));
-
 	VDLIST_INFO(vd, list) = filelist_sort(VDLIST_INFO(vd, list), SORT_NAME, TRUE);
 
 	/* add . and .. */