Kenichi Handa | 1 May 2009 14:17

Re: load_charset warning

In article <20090501110629.GC37259 <at> orion.local>, Emanuele Giaquinta
<emanuele.giaquinta <at> gmail.com> writes:

> I also noticed a useless assignment to for_encoder, see attached patch.

> Emanuele Giaquinta

> --WhfpMioaduB5tiZL
> Content-Type: text/x-diff; charset=us-ascii
> Content-Disposition: attachment; filename="load_charset_map.diff"

> diff --git a/src/charset.c b/src/charset.c
> index 15975a4..7d9bc2f 100644
> --- a/src/charset.c
> +++ b/src/charset.c
>  <at>  <at>  -319,7 +319,6  <at>  <at>  load_charset_map (charset, entries, n_entries, control_flag)
>  	    {
>  	      memset (temp_charset_work->table.decoder, -1,
>  		      sizeof (int) * 0x10000);
> -	      temp_charset_work->for_encoder = 0;
>  	    }
>  	  else
>  	    {

Thank you.  I committed that change too.

---
Kenichi Handa
handa <at> m17n.org


Gmane