diff options
author | eadler <eadler@FreeBSD.org> | 2012-06-19 06:10:31 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-06-19 06:10:31 +0000 |
commit | d0bea5ca9bb4f6dca0b6d6537309ace58be62419 (patch) | |
tree | 1878238ec94eaf009cacbc5e8bb36d267f512d58 | |
parent | 0f9ceef4834e460e60a9d73c9013f3be916d1bcc (diff) | |
download | FreeBSD-src-d0bea5ca9bb4f6dca0b6d6537309ace58be62419.zip FreeBSD-src-d0bea5ca9bb4f6dca0b6d6537309ace58be62419.tar.gz |
Remove variables which are initialized but never used thereafter reported by gcc46 warning
Approved by: cperciva
MFC After: 3 days
-rw-r--r-- | usr.sbin/kbdmap/kbdmap.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/usr.sbin/kbdmap/kbdmap.c b/usr.sbin/kbdmap/kbdmap.c index c6348a6..7d5a0d1 100644 --- a/usr.sbin/kbdmap/kbdmap.c +++ b/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 * |