From d248e57d5527c7db841457fd8c2cd68e81a37939 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'search.c') diff --git a/search.c b/search.c index 523031c..92f531a 100644 --- a/search.c +++ b/search.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: search.c,v 1.60 2017/04/24 13:35:25 okan Exp $ + * $OpenBSD: search.c,v 1.61 2017/04/24 15:06:11 okan Exp $ */ #include @@ -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 v1.2.3-2-gb3c3