pspp-dev
[Top][All Lists]
Advanced

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

uninitialized variable in decimal-test


From: Ben Pfaff
Subject: uninitialized variable in decimal-test
Date: Sun, 15 Feb 2015 14:37:07 -0800
User-agent: Mutt/1.5.23 (2014-03-12)

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.



reply via email to

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