svn commit: r237423 - stable/8/usr.sbin/kbdmap
Eitan Adler
eadler at FreeBSD.org
Fri Jun 22 05:40:16 UTC 2012
Author: eadler
Date: Fri Jun 22 05:40:15 2012
New Revision: 237423
URL: http://svn.freebsd.org/changeset/base/237423
Log:
MFC r237257:
Remove variables which are initialized but never used thereafter reported by gcc46 warning
PR: bin/163847
Approved by: cperciva (implicit)
Modified:
stable/8/usr.sbin/kbdmap/kbdmap.c
Directory Properties:
stable/8/usr.sbin/kbdmap/ (props changed)
Modified: stable/8/usr.sbin/kbdmap/kbdmap.c
==============================================================================
--- stable/8/usr.sbin/kbdmap/kbdmap.c Fri Jun 22 05:40:15 2012 (r237422)
+++ stable/8/usr.sbin/kbdmap/kbdmap.c Fri Jun 22 05:40:15 2012 (r237423)
@@ -327,7 +327,6 @@ show_dialog(struct keymap **km_sorted, i
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, i
asprintf(&dialog, "/usr/bin/dialog --clear --title \"Keyboard Menu\" "
"--menu \"%s\" -1 -1 10", menu);
- ext = extract_name(dir);
-
/* start right font, assume that current font is equal
* to default font in /etc/rc.conf
*
More information about the svn-src-all
mailing list