From b3009615242a52382b16ef1cb26a5e6172a58f66 Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Mon, 18 Nov 2013 13:13:26 +0000 Subject: [PATCH] alias.c: Remove unused variables in pmatch_cmd_alias(), pmatch_assign_alias() and do_stack_alias(). git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@478 13b04d17-f746-0410-82c6-800466cd88b0 --- source/alias.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/source/alias.c b/source/alias.c index ed4515a..bd23177 100644 --- a/source/alias.c +++ b/source/alias.c @@ -1782,11 +1782,9 @@ char ** glob_assign_alias (char *name, int *howmany) char ** pmatch_cmd_alias (char *name, int *howmany) { int cnt; - int len; char **matches = NULL; int matches_size = 5; - len = strlen(name); *howmany = 0; RESIZE(matches, char *, matches_size); @@ -1818,11 +1816,9 @@ char ** pmatch_cmd_alias (char *name, int *howmany) char ** pmatch_assign_alias (char *name, int *howmany) { int cnt; - int len; char **matches = NULL; int matches_size = 5; - len = strlen(name); *howmany = 0; RESIZE(matches, char *, matches_size); @@ -2387,19 +2383,16 @@ void do_stack_alias (int type, char *args, int which) AliasStack *aptr, **aptrptr; Alias *alptr; int cnt; - int my_which = 0; if (which == STACK_DO_ALIAS) { name = "ALIAS"; aptrptr = &alias_stack; - my_which = COMMAND_ALIAS; } else { name = "ASSIGN"; aptrptr = &assign_stack; - my_which = VAR_ALIAS; } if (!*aptrptr && (type == STACK_POP || type == STACK_LIST))