diff options
author | okan | 2017-04-24 15:06:11 +0000 |
---|---|---|
committer | okan | 2017-04-24 15:06:11 +0000 |
commit | d248e57d5527c7db841457fd8c2cd68e81a37939 (patch) | |
tree | b2cb0b8b1bb88bd90bd9b5b0bcc4224b85315692 /search.c | |
parent | f326ac175ef051168be14303baab0704c5306f6f (diff) | |
download | cwm-d248e57d5527c7db841457fd8c2cd68e81a37939.tar.gz |
search_match_path() isn't supposed to return anything.
Diffstat (limited to 'search.c')
-rw-r--r-- | search.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |