public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* Re^2: new testing version 1.7.90
@ 2006-03-26 12:58 Richard Mathar
  0 siblings, 0 replies; only message in thread
From: Richard Mathar @ 2006-03-26 12:58 UTC (permalink / raw)
  To: gsl-discuss


> From: Stefan Gerlach <gerlach at mbi-berlin dot de>
> To: gsl-discuss at sourceware dot org
> Subject: Re: new testing version 1.7.90
> Date: Fri, 24 Mar 2006 11:02:25 +0100
>... 
> I test 1.7.90 on serveral Linux distributions using CFLAGS=3D"-O3 -Wall" and
> "make" & "make check" shows no errors. But i got some warnings:
> ...
> fermi_dirac.c: In function 'fd_neg':
> fermi_dirac.c:946: warning: 's' may be used uninitialized in this function
>

The 's' in fermi_dirac.c is actually intialized within fd_whiz() when called
for the first time in the loop. A simle solution would be to initialize

double s=0.0 ;

where complained. The line

  if(iterm == 0) *s = 0.0;

within fd_whiz() could then be dropped.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-26 12:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-26 12:58 Re^2: new testing version 1.7.90 Richard Mathar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).