Skip to content

Commit ef95cd4

Browse files
committed
elminate unread variable, after reiteration 3 of them (clang4)
1 parent e14d50d commit ef95cd4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

driver/level3/level3_gemm3m_thread.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ static int gemm_driver(blas_arg_t *args, BLASLONG *range_m, BLASLONG
974974
int CNAME(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, FLOAT *sa, FLOAT *sb, BLASLONG mypos){
975975

976976
BLASLONG m = args -> m;
977-
BLASLONG n = args -> n;
977+
// BLASLONG n = args -> n;
978978
BLASLONG nthreads = args -> nthreads;
979979
BLASLONG divN, divT;
980980
int mode;
@@ -985,13 +985,14 @@ int CNAME(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, FLOAT *sa, FLO
985985

986986
m = m_to - m_from;
987987
}
988-
988+
/*
989989
if (range_n) {
990990
BLASLONG n_from = *(((BLASLONG *)range_n) + 0);
991991
BLASLONG n_to = *(((BLASLONG *)range_n) + 1);
992992
993993
n = n_to - n_from;
994994
}
995+
*/
995996

996997
if ((args -> m < nthreads * SWITCH_RATIO) || (args -> n < nthreads * SWITCH_RATIO)) {
997998
GEMM3M_LOCAL(args, range_m, range_n, sa, sb, 0);

0 commit comments

Comments
 (0)