mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
Remove variables which are initialized but never used thereafter reported by gcc46 warning
Approved by: cperciva MFC After: 3 days
This commit is contained in:
parent
4ab8581b32
commit
c84c09f445
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=237257
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user