From 9fe14d6320687c3014b784d62cc8a85153f35c50 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Wed, 16 Mar 2011 13:10:36 -0700 Subject: [PATCH] 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 --- com32/hdt/hdt-menu-summary.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/com32/hdt/hdt-menu-summary.c b/com32/hdt/hdt-menu-summary.c index b939555..ad87c29 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; } } } -- 2.7.4