Permalink
Browse files

Remove variables which are initialized but never used thereafter repo…

…rted by gcc46 warning

Approved by:	cperciva
MFC After:	3 days
  • Loading branch information...
1 parent 9bffbf7 commit b50d503059fbe9cdcf815729bcb68e91fc84a6f2 @grimreaper grimreaper committed Jun 19, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −3 usr.sbin/kbdmap/kbdmap.c
@@ -327,7 +327,6 @@ show_dialog(struct keymap **km_sorted, int num_keymaps)
FILE *fp;
char *cmd, *dialog;
char tmp_name[] = "/tmp/_kbd_lang.XXXX";
- const char *ext;
int fd, i, size;
fd = mkstemp(tmp_name);
@@ -339,8 +338,6 @@ show_dialog(struct keymap **km_sorted, int num_keymaps)
asprintf(&dialog, "/usr/bin/dialog --clear --title \"Keyboard Menu\" "
"--menu \"%s\" 0 0 0", menu);
- ext = extract_name(dir);
-
/* start right font, assume that current font is equal
* to default font in /etc/rc.conf
*

0 comments on commit b50d503

Please sign in to comment.