[syslinux] [PATCH 09/23] com32/chain: remove unused ebr_start

Shao Miller sha0.miller at gmail.com
Wed Nov 7 18:34:40 PST 2012


On 11/5/2012 19:32, Michal Soltys wrote:
> Signed-off-by: Michal Soltys <soltys at ziu.info>
> ---
>   com32/chain/partiter.c |    3 ---
>   com32/chain/partiter.h |    1 -
>   2 files changed, 4 deletions(-)
>
> diff --git a/com32/chain/partiter.c b/com32/chain/partiter.c
> index 250cb2c..da96b3d 100644
> --- a/com32/chain/partiter.c
> +++ b/com32/chain/partiter.c
> @@ -308,7 +308,6 @@ static int prep_base_ebr(struct part_iter *iter)
>   	iter->dos.bebr_start = dp->start_lba;
>   	iter->dos.bebr_size = dp->length;
>
> -	iter->dos.ebr_start = 0;
>   	iter->dos.ebr_size = iter->dos.bebr_size;
>
>   	iter->dos.cebr_lba = 0;

This member could still be useful if debugging/dumping.  Was this change 
prompted by GCC warnings?

- Shao Miller




More information about the Syslinux mailing list