aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/ldlinux/readconfig.c
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@linux.intel.com>2011-03-16 13:40:46 +0000
committerMatt Fleming <matt.fleming@linux.intel.com>2011-03-16 14:06:39 +0000
commit248c42500874df4526a3160446c43bda59706977 (patch)
tree20bc003eb249b6cdb3ba0b138003ceccb0cdf9c2 /com32/elflink/ldlinux/readconfig.c
parenteee9ce324a85a4974188b93c6ca6a11020d00c1c (diff)
downloadsyslinux-248c42500874df4526a3160446c43bda59706977.tar.gz
syslinux-248c42500874df4526a3160446c43bda59706977.tar.xz
syslinux-248c42500874df4526a3160446c43bda59706977.zip
ldlinux: Delete unused variables and functions
Fix the following compiler warnings, readconfig.c: In function ‘parse_one_config’: readconfig.c:1059:6: warning: unused variable ‘i’ readconfig.c: At top level: readconfig.c:1110:13: warning: ‘dump_menu’ defined but not used Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
Diffstat (limited to 'com32/elflink/ldlinux/readconfig.c')
-rw-r--r--com32/elflink/ldlinux/readconfig.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/com32/elflink/ldlinux/readconfig.c b/com32/elflink/ldlinux/readconfig.c
index b6cfb1bd..e13d6d47 100644
--- a/com32/elflink/ldlinux/readconfig.c
+++ b/com32/elflink/ldlinux/readconfig.c
@@ -1056,7 +1056,6 @@ do_include:
static int parse_one_config(const char *filename)
{
FILE *f;
- int i;
/*
if (!strcmp(filename, "~"))
@@ -1107,18 +1106,6 @@ static void resolve_gotos(void)
}
}
-static void dump_menu(struct menu *menu)
-{
- dprintf("will dump menu for %s:", menu->label);
- printf("entries num: %d\n", menu->nentries);
- printf("defentry: %d, nam = %s\n",
- menu->defentry, menu->menu_entries[menu->defentry]->label);
- printf("save: %d\n", menu->save);
- //printf("", menu->);
- //printf("", menu->);
- //printf("", menu->);
-}
-
void parse_configs(char **argv)
{
const char *filename;