projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a2c1a4
)
com32/hdt/hdt-menu-summary.c: remove variables set but not used
author
H. Peter Anvin
<hpa@zytor.com>
Wed, 16 Mar 2011 20:10:36 +0000
(13:10 -0700)
committer
H. Peter Anvin
<hpa@zytor.com>
Wed, 16 Mar 2011 20:10:36 +0000
(13:10 -0700)
gcc 4.6 warns on variables set but not used, so remove them.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/hdt/hdt-menu-summary.c
patch
|
blob
|
history
diff --git
a/com32/hdt/hdt-menu-summary.c
b/com32/hdt/hdt-menu-summary.c
index
b939555
..
ad87c29
100644
(file)
--- a/
com32/hdt/hdt-menu-summary.c
+++ b/
com32/hdt/hdt-menu-summary.c
@@
-158,7
+158,6
@@
void compute_summarymenu(struct s_my_menu *menu, struct s_hardware *hardware)
if (hardware->modules_pcimap_return_code != -ENOMODULESPCIMAP) {
add_item("", "", OPT_SEP, "", 0);
- bool kmod = false;
struct pci_device *pci_device;
char kernel_modules[LINUX_KERNEL_MODULE_SIZE *
MAX_KERNEL_MODULES_PER_PCI_DEVICE];
@@
-191,7
+190,6
@@
void compute_summarymenu(struct s_my_menu *menu, struct s_hardware *hardware)
add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0);
menu->items_count++;
- kmod = true;
}
}
}