]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
BIRD Client: remove unused variables
authorPavel Tvrdik <pawel.tvrdik@gmail.com>
Tue, 26 Apr 2016 13:49:17 +0000 (15:49 +0200)
committerPavel Tvrdik <pawel.tvrdik@gmail.com>
Tue, 26 Apr 2016 13:49:17 +0000 (15:49 +0200)
client/commands.c

index 260688596eea77cba45339db332741a2a2cab8db..4809727c991986470a7a3780b0dc53cd0c4df7f6 100644 (file)
@@ -111,8 +111,6 @@ static struct cmd_node *
 cmd_find_abbrev(struct cmd_node *root, char *cmd, int len, int *pambiguous)
 {
   struct cmd_node *m, *best = NULL, *best2 = NULL;
-  list *l_syms = cli_get_symbol_list();
-  struct cli_symbol *sym;
 
   *pambiguous = 0;
   for(m=root->son; m; m=m->sibling)
@@ -221,7 +219,7 @@ cmd_find_common_match(struct cmd_node *root, char *cmd, int len, int *pcount, ch
 {
   struct cmd_node *m;
   int max_common_len;
-  int best_prio, i;
+  int best_prio;
 
   *pcount = 0;
   max_common_len = -1;