aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/ldlinux/getadv.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/getadv.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/getadv.c')
-rw-r--r--com32/elflink/ldlinux/getadv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/elflink/ldlinux/getadv.c b/com32/elflink/ldlinux/getadv.c
index 456084b0..5578313e 100644
--- a/com32/elflink/ldlinux/getadv.c
+++ b/com32/elflink/ldlinux/getadv.c
@@ -39,7 +39,7 @@
const void *syslinux_getadv(int tag, size_t * size)
{
const uint8_t *p;
- size_t left, len;
+ size_t left;
p = syslinux_adv_ptr();
left = syslinux_adv_size();