mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04: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
1 changed files with 0 additions and 3 deletions
|
|
@ -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 a new issue