silence compiler warning

This commit is contained in:
Axel Kohlmeyer
2020-05-15 20:04:49 -04:00
parent 37442ca5cf
commit dc74fac4d3

View File

@ -2279,7 +2279,7 @@ void AtomVec::write_improper(FILE *fp, int n, tagint **buf, int index)
bigint AtomVec::memory_usage() bigint AtomVec::memory_usage()
{ {
int datatype,cols,index,maxcols; int datatype,cols,maxcols;
void *pdata; void *pdata;
bigint bytes = 0; bigint bytes = 0;
@ -2296,7 +2296,6 @@ bigint AtomVec::memory_usage()
pdata = mgrow.pdata[i]; pdata = mgrow.pdata[i];
datatype = mgrow.datatype[i]; datatype = mgrow.datatype[i];
cols = mgrow.cols[i]; cols = mgrow.cols[i];
index = mgrow.index[i];
const int nthreads = threads[i] ? comm->nthreads : 1; const int nthreads = threads[i] ? comm->nthreads : 1;
if (datatype == DOUBLE) { if (datatype == DOUBLE) {
if (cols == 0) { if (cols == 0) {