aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan2017-04-24 15:06:11 +0000
committerokan2017-04-24 15:06:11 +0000
commitd248e57d5527c7db841457fd8c2cd68e81a37939 (patch)
treeb2cb0b8b1bb88bd90bd9b5b0bcc4224b85315692
parentf326ac175ef051168be14303baab0704c5306f6f (diff)
downloadcwm-d248e57d5527c7db841457fd8c2cd68e81a37939.tar.gz
search_match_path() isn't supposed to return anything.
Diffstat (limited to '')
-rw-r--r--search.c4
1 files changed, 2 insertions, 2 deletions
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 <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