changeset 975:8c6a8002b1d5

Do not return values of void functions. Reported by Jeffery Small.
author zas_
date Wed, 20 Aug 2008 22:19:35 +0000
parents c466b8fabcc3
children cee16cea5f23
files src/view_dir.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/view_dir.c	Wed Aug 20 20:36:36 2008 +0000
+++ b/src/view_dir.c	Wed Aug 20 22:19:35 2008 +0000
@@ -146,8 +146,8 @@
 {
 	switch(vd->type)
 	{
-	case DIRVIEW_LIST: return vdlist_refresh(vd);
-	case DIRVIEW_TREE: return vdtree_refresh(vd);
+	case DIRVIEW_LIST: vdlist_refresh(vd);
+	case DIRVIEW_TREE: vdtree_refresh(vd);
 	}
 }