aboutsummaryrefslogtreecommitdiff
path: root/src/gemma.cpp
diff options
context:
space:
mode:
authorPjotr Prins2017-11-22 11:36:12 +0000
committerPjotr Prins2017-11-22 11:36:12 +0000
commitbffa286fe97708586834838f72d9abfaeca1fe25 (patch)
tree7d0e9811a254b5a268028762fda2d89fc9d8e77f /src/gemma.cpp
parent385dd86c0d58cdba4eefd4e39694ee47ff3ab3e6 (diff)
downloadpangemma-bffa286fe97708586834838f72d9abfaeca1fe25.tar.gz
Remove compiler warnings
Diffstat (limited to 'src/gemma.cpp')
-rw-r--r--src/gemma.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gemma.cpp b/src/gemma.cpp
index 8977255..df8934e 100644
--- a/src/gemma.cpp
+++ b/src/gemma.cpp
@@ -3042,9 +3042,9 @@ void GEMMA::BatchRun(PARAM &cPar) {
}
// load annotations
- gsl_matrix *Ac;
- gsl_matrix_int *Ad;
- gsl_vector_int *dlevel;
+ gsl_matrix *Ac = NULL;
+ gsl_matrix_int *Ad = NULL;
+ gsl_vector_int *dlevel = NULL;
size_t kc, kd;
if (!cPar.file_cat.empty()) {
ReadFile_cat(cPar.file_cat, vec_rs, Ac, Ad, dlevel, kc, kd);