From 15d5dfa92c2026495ed9fcadd9abd2face88622b Mon Sep 17 00:00:00 2001 From: wernsaar Date: Wed, 25 Jun 2014 11:32:44 +0200 Subject: [PATCH] fixed compiler warnings --- interface/ger.c | 4 ++-- interface/rotmg.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/interface/ger.c b/interface/ger.c index 8f263431f..a07866c74 100644 --- a/interface/ger.c +++ b/interface/ger.c @@ -75,7 +75,7 @@ void NAME(blasint *M, blasint *N, FLOAT *Alpha, blasint incy = *INCY; blasint lda = *LDA; FLOAT *buffer; -#ifdef SMP +#ifdef SMPBUG int nthreads; #endif @@ -107,7 +107,7 @@ void CNAME(enum CBLAS_ORDER order, FLOAT *buffer; blasint info, t; -#ifdef SMP +#ifdef SMPBUG int nthreads; #endif diff --git a/interface/rotmg.c b/interface/rotmg.c index 4dbb580eb..c1f5777c3 100644 --- a/interface/rotmg.c +++ b/interface/rotmg.c @@ -62,7 +62,7 @@ void CNAME(FLOAT *dd1, FLOAT *dd2, FLOAT *dx1, FLOAT dy1, FLOAT *dparam){ #endif - FLOAT du, dp1, dp2, dq2, dq1, dh11, dh21, dh12, dh22, dflag, dtemp; + FLOAT du, dp1, dp2, dq2, dq1, dh11=ZERO, dh21=ZERO, dh12=ZERO, dh22=ZERO, dflag=-ONE, dtemp; if(*dd1 < ZERO) {