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: John Darrington
Subject: Re: uninitialized variable in decimal-test
Date: Mon, 16 Feb 2015 09:20:17 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

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.

Attachment: signature.asc
Description: Digital signature


reply via email to

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