Refs #714. avoid compiling warnings.
authorZhang Xianyi <traits.zhang@gmail.com>
Wed, 27 Jan 2016 20:38:07 +0000 (04:38 +0800)
committerZhang Xianyi <traits.zhang@gmail.com>
Wed, 27 Jan 2016 20:38:07 +0000 (04:38 +0800)
kernel/x86_64/dscal.c

index e3e2b0d..b7110e6 100644 (file)
@@ -87,7 +87,7 @@ static void dscal_kernel_inc_8(BLASLONG n, FLOAT *alpha, FLOAT *x, BLASLONG inc_
 static void dscal_kernel_inc_8(BLASLONG n, FLOAT *alpha, FLOAT *x, BLASLONG inc_x)
 {
 
-       FLOAT *x1;
+       FLOAT *x1=NULL;
        BLASLONG inc_x3;
 
        inc_x <<= 3;