pspp-dev
[Top][All Lists]
Advanced

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

Re: uninitialized variable in decimal-test


From: Ben Pfaff
Subject: Re: uninitialized variable in decimal-test
Date: Mon, 16 Feb 2015 09:37:18 -0800
User-agent: Mutt/1.5.23 (2014-03-12)

Thank you!

On Mon, Feb 16, 2015 at 09:20:17AM +0100, John Darrington wrote:
> Done.
> 
> I don't think this case could ever have arisen,  but if it does, now we 
> will now know about it.
> 
> J'
> 
> On Sun, Feb 15, 2015 at 02:37:07PM -0800, Ben Pfaff wrote:
>      Hi John.  GCC reports:
>      
>          ../tests/math/decimal-test.c: In function ???canonicalise_string???:
>          ../tests/math/decimal-test.c:103:16: error: ???out??? may be used 
> uninitialized in this function [-Werror=maybe-uninitialized]
>                 *(out+1) = '\0';
>                          ^
>      
>      and I think that I agree with it.  Will you take a look, please?
>      
>      Thanks,
>      
>      Ben.
> 
> -- 
> PGP Public key ID: 1024D/2DE827B3 
> fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
> See http://sks-keyservers.net or any PGP keyserver for public key.
> 





reply via email to

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