Re: [PATCH 1/5] warnings in canonicalize.c

2020-12-28 Thread Bruno Haible
Paul Eggert wrote: > On 12/24/20 4:44 PM, Bruno Haible wrote: > > Indeed, I don't see warnings in canonicalize-lgpl.c. But there are warnings > > in gnulib's canonicalize.c: > > Thanks, I fixed those Thanks. I'm not seeing these warnings any more. > Even though I didn't get these > warnings wit

Re: [PATCH 1/5] warnings in canonicalize.c

2020-12-24 Thread Paul Eggert
On 12/24/20 4:44 PM, Bruno Haible wrote: Indeed, I don't see warnings in canonicalize-lgpl.c. But there are warnings in gnulib's canonicalize.c: Thanks, I fixed those, along one or two others I noticed when compiling with GCC (Ubuntu 10.2.0-13ubuntu1). Even though I didn't get these warnings

Re: [PATCH 1/5] warnings in canonicalize.c

2020-12-24 Thread Bruno Haible
Paul Eggert wrote: > > @@ -270,7 +270,7 @@ > > buf[n] = '\0'; > > > > char *extra_buf = extra_buffer.data; > > - idx_t end_idx; > > + idx_t end_idx = 0; > > if (end_in_extra_buffer) > > end_idx = end - extr