From ffcfff3dea48485f806670b1d34b7a6db1363c8d Mon Sep 17 00:00:00 2001 From: okan Date: Mon, 24 Apr 2017 15:06:11 +0000 Subject: search_match_path() isn't supposed to return anything. --- search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'search.c') 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 -- cgit 1.4.1