Attempted to fix uninitialized variable warnings.

Details:
- Added initialization statements to various macros used in level 1m and
  1m-like operations. I wasn't able to reproduce the reported behavior,
  so hopefully this takes care of it. Thanks to Jeff Hammond for the
  report.
This commit is contained in:
Field G. Van Zee
2014-04-01 14:34:31 -05:00
parent d27b4f690c
commit 47a90e69df

View File

@@ -581,6 +581,11 @@
uplo_eff, n_elem_max, n_iter, inca, lda, \
ij0, n_shift ) \
{ \
/* This is to prevent the compiler from warning about uninitialized
variables. */ \
ij0 = 0; \
n_shift = 0; \
\
/* If matrix A is entirely "unstored", that is, if either:
- A is lower-stored and entirely above the diagonal, or
- A is upper-stored and entirely below the diagonal
@@ -669,6 +674,11 @@
ij0, n_shift \
) \
{ \
/* This is to prevent the compiler from warning about uninitialized
variables. */ \
ij0 = 0; \
n_shift = 0; \
\
/* If matrix A is entirely "unstored", that is, if either:
- A is lower-stored and entirely above the diagonal, or
- A is upper-stored and entirely below the diagonal
@@ -749,6 +759,11 @@
ij0, n_shift \
) \
{ \
/* This is to prevent the compiler from warning about uninitialized
variables. */ \
ij0 = 0; \
n_shift = 0; \
\
/* If matrix A is entirely "unstored", that is, if either:
- A is lower-stored and entirely above the diagonal, or
- A is upper-stored and entirely below the diagonal