summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2017-04-24 15:06:11 +0000
committerokan <okan>2017-04-24 15:06:11 +0000
commitffcfff3dea48485f806670b1d34b7a6db1363c8d (patch)
treeeca5bb1e68493b484a23cc2ddd807d59cd8303a0
parent56b44257a56417f038255c340f89eb3df90f1241 (diff)
downloadcwm-ffcfff3dea48485f806670b1d34b7a6db1363c8d.tar.gz
cwm-ffcfff3dea48485f806670b1d34b7a6db1363c8d.tar.xz
cwm-ffcfff3dea48485f806670b1d34b7a6db1363c8d.zip
search_match_path() isn't supposed to return anything.
-rw-r--r--search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/search.c b/search.c
index 1dbf92b..07e0e15 100644
--- a/search.c
+++ b/search.c
@@ -170,7 +170,7 @@ search_match_path(struct menu_q *menuq, struct menu_q *resultq, char *search)
 {
 	TAILQ_INIT(resultq);
 
-	return(search_match_path_type(menuq, resultq, search, PATH_ANY));
+	search_match_path_type(menuq, resultq, search, PATH_ANY);
 }
 
 void