bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libstore/decode.c (store_std_leaf_decode): remove unused variable


From: Samuel Thibault
Subject: Re: libstore/decode.c (store_std_leaf_decode): remove unused variable
Date: Sat, 1 Jun 2013 23:20:57 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Miguel Figueiredo, le Sat 01 Jun 2013 22:18:06 +0100, a écrit :
> @@ -49,7 +49,6 @@ store_std_leaf_decode (struct store_enc *enc,
>      return EINVAL;
>  
>    /* Read encoded ints.  */
> -  type = enc->ints[enc->cur_int++];

Nope, this has a side effect :)

I'd rather keep this code as such, at least to document what this int is
about.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]