aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/ldlinux/cli.c
diff options
context:
space:
mode:
authorLiu Aleaxander <Aleaxander@gmail.com>2011-03-15 20:19:33 +0000
committerMatt Fleming <matt.fleming@linux.intel.com>2011-03-15 21:13:42 +0000
commit0329c42cdad629ecd5fdf5aba528a2bf97639bb7 (patch)
treea39f1576cdd3800ee44982238404b5216d91757b /com32/elflink/ldlinux/cli.c
parent9ded45991b4fc83b40af963feb773ddca2589d74 (diff)
downloadsyslinux-0329c42cdad629ecd5fdf5aba528a2bf97639bb7.tar.gz
syslinux-0329c42cdad629ecd5fdf5aba528a2bf97639bb7.tar.xz
syslinux-0329c42cdad629ecd5fdf5aba528a2bf97639bb7.zip
elflink: Cleanup some warnings
Cleanup some unused variables, goto lables, and add the missing header files. Signed-off-by: Liu Aleaxander <Aleaxander@gmail.com> Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
Diffstat (limited to 'com32/elflink/ldlinux/cli.c')
-rw-r--r--com32/elflink/ldlinux/cli.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/com32/elflink/ldlinux/cli.c b/com32/elflink/ldlinux/cli.c
index 77d32cd2..03befe5a 100644
--- a/com32/elflink/ldlinux/cli.c
+++ b/com32/elflink/ldlinux/cli.c
@@ -418,7 +418,6 @@ void process_command(const char *cmd, bool history)
else
execute(temp_cmd, KT_KERNEL);
-cleanup:
free(argv);
free(temp_cmd);
}