summaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
authorwernsaar <wernsaar@googlemail.com>2014-06-25 11:32:44 +0200
committerwernsaar <wernsaar@googlemail.com>2014-06-25 11:32:44 +0200
commit15d5dfa92c2026495ed9fcadd9abd2face88622b (patch)
tree6031aa3b9af04fcc80c4a517febb7eba7716c43b /interface
parentd83373db61cca6b7b4fe9623de9a0fef861ea381 (diff)
downloadopenblas-15d5dfa92c2026495ed9fcadd9abd2face88622b.tar.gz
openblas-15d5dfa92c2026495ed9fcadd9abd2face88622b.tar.bz2
openblas-15d5dfa92c2026495ed9fcadd9abd2face88622b.zip
fixed compiler warnings
Diffstat (limited to 'interface')
-rw-r--r--interface/ger.c4
-rw-r--r--interface/rotmg.c2
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)
{