diff options
author | oga | 2008-03-22 14:09:02 +0000 |
---|---|---|
committer | oga | 2008-03-22 14:09:02 +0000 |
commit | 200c48963c22fe4070b8fcf11f2c32f0b6d97a62 (patch) | |
tree | 1e29a4b488f0e6babaf1a5ac1ef3b6337d0e965b /kbfunc.c | |
parent | 7644f9dcec63b407725bbc5ab484870e1b8da794 (diff) | |
download | cwm-200c48963c22fe4070b8fcf11f2c32f0b6d97a62.tar.gz |
Remove a bunch of unused variables and incorrect comments.
"ok with me" okan@.
Diffstat (limited to 'kbfunc.c')
-rw-r--r-- | kbfunc.c | 12 |
1 files changed, 6 insertions, 6 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. * - * $Id: kbfunc.c,v 1.13 2008/01/16 11:39:20 oga Exp $ + * $Id: kbfunc.c,v 1.14 2008/03/22 14:09:02 oga Exp $ */ #include <paths.h> @@ -178,8 +178,8 @@ kbfunc_client_search(struct client_ctx *scratch, void *arg) } if ((mi = search_start(&menuq, - search_match_client, NULL, - search_print_client, "window", 0)) != NULL) { + search_match_client, search_print_client, + "window", 0)) != NULL) { cc = (struct client_ctx *)mi->ctx; if (cc->flags & CLIENT_HIDDEN) client_unhide(cc); @@ -213,7 +213,7 @@ kbfunc_menu_search(struct client_ctx *scratch, void *arg) } if ((mi = search_start(&menuq, - search_match_text, NULL, NULL, "application", 0)) != NULL) + search_match_text, NULL, "application", 0)) != NULL) u_spawn(((struct cmd *)mi->ctx)->image); while ((mi = TAILQ_FIRST(&menuq)) != NULL) { @@ -344,7 +344,7 @@ kbfunc_exec(struct client_ctx *scratch, void *arg) } if ((mi = search_start(&menuq, - search_match_exec, NULL, NULL, label, 1)) != NULL) { + search_match_exec, NULL, label, 1)) != NULL) { switch (cmd) { case CWM_EXEC_PROGRAM: u_spawn(mi->text); @@ -419,7 +419,7 @@ kbfunc_ssh(struct client_ctx *scratch, void *arg) if ((mi = search_start(&menuq, - search_match_exec, NULL, NULL, "ssh", 1)) != NULL) { + search_match_exec, NULL, "ssh", 1)) != NULL) { conf_cmd_refresh(&Conf); l = snprintf(cmd, sizeof(cmd), "%s -e ssh %s", Conf.termpath, mi->text); |