Suppressed a spurious -Wsometimes-uninitialized build warning.
authorArto Bendiken <arto@bendiken.net>
Mon, 22 Sep 2014 21:25:48 +0000 (21:25 +0000)
committerArto Bendiken <arto@bendiken.net>
Mon, 22 Sep 2014 21:29:20 +0000 (21:29 +0000)
See: https://sourceforge.net/p/ecls/bugs/293/

src/h/number.h

index 3eed789..d472bb1 100644 (file)
@@ -84,7 +84,7 @@ ecl_to_fix(cl_object f)
 static ECL_INLINE cl_index
 ecl_to_size(cl_object f)
 {
-       cl_fixnum aux;
+       cl_fixnum aux = 0;
        if (ecl_unlikely(!ECL_FIXNUMP(f) || ((aux = ecl_fixnum(f)) < 0)))
                FEtype_error_size(f);
        return aux;