Skip to content

Commit 202fc9e

Browse files
committed
Fix uninitialized argument value in dasum_k
1 parent e378b24 commit 202fc9e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

kernel/x86_64/dasum.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
9393
#if defined(SMP)
9494
int nthreads;
9595
FLOAT dummy_alpha;
96-
FLOAT * dummy_b;
9796
#endif
9897
FLOAT sumf = 0.0;
9998

@@ -115,7 +114,7 @@ FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
115114
#else
116115
mode = BLAS_DOUBLE | BLAS_REAL;
117116
#endif
118-
blas_level1_thread_with_return_value(mode, n, 0, 0, &dummy_alpha, x, inc_x, dummy_b, 0, result, 0, (void *)asum_thread_function, nthreads);
117+
blas_level1_thread_with_return_value(mode, n, 0, 0, &dummy_alpha, x, inc_x, NULL, 0, result, 0, (void *)asum_thread_function, nthreads);
119118
ptr = (FLOAT *)result;
120119
for (i = 0; i < nthreads; i++) {
121120
sumf += (*ptr);

0 commit comments

Comments
 (0)