pspp-dev
[Top][All Lists]
Advanced

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

Re: uninitialized variable in covariance_accumulate_listwise


From: John Darrington
Subject: Re: uninitialized variable in covariance_accumulate_listwise
Date: Tue, 16 Feb 2010 07:09:18 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

This is in src/math/covariance-matrix.c Yes?

When Jason has finished his work on the covariance branch,
this entire file (I hope) will be deleted, in favour of
src/math/covariance.c (which may need renaming).

J'

On Mon, Feb 15, 2010 at 02:47:42PM -0800, Ben Pfaff wrote:
     The "Clang" static analyzer noticed that the "val2" variable in
     covariance_accumulate_listwise() is never initialized, even
     though it is passed to update_hash_entry().  This looks like a
     bug, but I don't know what is the correct fix.  Can you take a
     look?
     
     Thanks,
     
     Ben.
     -- 
     "A computer is a state machine.
      Threads are for people who cant [sic] program state machines."
     --Alan Cox
     
     
     _______________________________________________
     pspp-dev mailing list
     address@hidden
     http://lists.gnu.org/mailman/listinfo/pspp-dev

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu 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]