changeset 21559:6619945e4434

maint: Merge stable to default.
author Rik <rik@octave.org>
date Tue, 29 Mar 2016 08:16:09 -0700
parents f6663c49870c (current diff) d42aa6780175 (diff)
children 96c768d898f0
files liboctave/numeric/lo-specfun.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/liboctave/numeric/lo-specfun.cc	Tue Mar 29 07:39:38 2016 -0700
+++ b/liboctave/numeric/lo-specfun.cc	Tue Mar 29 08:16:09 2016 -0700
@@ -487,7 +487,7 @@
   int sgngam;
   result = lgamma_r (x, &sgngam);
 #else
-  double sgngam;
+  double sgngam = 0.0;
 
   if (xisnan (x))
     result = x;
@@ -559,7 +559,7 @@
   int sgngam;
   result = lgammaf_r (x, &sgngam);
 #else
-  float sgngam;
+  float sgngam = 0.0f;
 
   if (xisnan (x))
     result = x;