bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] minor used-uninitialized bug in human.c


From: Paul Eggert
Subject: Re: [bug-gnulib] minor used-uninitialized bug in human.c
Date: Sun, 10 Apr 2005 00:14:54 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Jim Meyering <address@hidden> writes:

> 2005-04-09  Jim Meyering  <address@hidden>
>
>       * human.c (humblock): Set *options even when returning due to
>       xstrtoumax conversion failure.  Thanks to a used-uninitialized
>       warning from gcc-4.

Yes, that makes sense.  The code is a bit crufty, but the idea
is that human_options always sets *block_size, even if there's
an error, but should return 0 in that case.




reply via email to

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