aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2011-03-16 13:10:36 -0700
committerH. Peter Anvin <hpa@zytor.com>2011-03-16 13:10:36 -0700
commit9fe14d6320687c3014b784d62cc8a85153f35c50 (patch)
treea3e3916e17743d5daa73d5c88b3f8c980348118d /com32/hdt
parent9a2c1a4e18ad1fa1b65848607124ca3d6550d925 (diff)
downloadsyslinux-9fe14d6320687c3014b784d62cc8a85153f35c50.tar.gz
syslinux-9fe14d6320687c3014b784d62cc8a85153f35c50.tar.xz
syslinux-9fe14d6320687c3014b784d62cc8a85153f35c50.zip
com32/hdt/hdt-menu-summary.c: remove variables set but not used
gcc 4.6 warns on variables set but not used, so remove them. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/hdt')
-rw-r--r--com32/hdt/hdt-menu-summary.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/com32/hdt/hdt-menu-summary.c b/com32/hdt/hdt-menu-summary.c
index b9395559..ad87c299 100644
--- 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;
}
}
}