about summary refs log tree commit diff
path: root/sysdeps/generic/w_lgamma.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/w_lgamma.c')
-rw-r--r--sysdeps/generic/w_lgamma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/w_lgamma.c b/sysdeps/generic/w_lgamma.c
index 4815db6df7..7c7f34ff39 100644
--- a/sysdeps/generic/w_lgamma.c
+++ b/sysdeps/generic/w_lgamma.c
@@ -34,7 +34,7 @@ static char rcsid[] = "$NetBSD: w_lgamma.c,v 1.6 1995/05/10 20:49:24 jtc Exp $";
 	return __ieee754_lgamma_r(x,&signgam);
 #else
         double y;
-	int local_signgam;
+	int local_signgam = 0;
         y = __ieee754_lgamma_r(x,&local_signgam);
 	if (_LIB_VERSION != _ISOC_)
 	  /* ISO C99 does not define the global variable.  */