diff options
author | Okan Demirmen <okan@cvs.openbsd.org> | 2017-04-24 15:06:12 +0000 |
---|---|---|
committer | Okan Demirmen <okan@cvs.openbsd.org> | 2017-04-24 15:06:12 +0000 |
commit | 1177b31eece212cff641a78b080db6b9bb6d403c (patch) | |
tree | 3b6b8823afb72535fc2eab7dace05303424b400f /app/cwm | |
parent | cc65b7dfe98a1b2947c021e6c5c0d579551957ed (diff) |
search_match_path() isn't supposed to return anything.
Diffstat (limited to 'app/cwm')
-rw-r--r-- | app/cwm/search.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/search.c b/app/cwm/search.c index 523031c5f..92f531a2c 100644 --- a/app/cwm/search.c +++ b/app/cwm/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 <sys/types.h> @@ -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 |