diff --git a/src/compute_chunk_spread_atom.cpp b/src/compute_chunk_spread_atom.cpp
index 93a4d30a2e313c305f1abc7875280e2ddaa7745e..c5fd27b0c1710f05e2fccb2d4f5a187ef7a9c25a 100644
--- a/src/compute_chunk_spread_atom.cpp
+++ b/src/compute_chunk_spread_atom.cpp
@@ -37,7 +37,7 @@ enum{COMPUTE,FIX};
 ComputeChunkSpreadAtom::
 ComputeChunkSpreadAtom(LAMMPS *lmp, int narg, char **arg) :
   Compute(lmp, narg, arg),
-  which(NULL), argindex(NULL), ids(NULL), value2index(NULL), idchunk(NULL)
+  idchunk(NULL), ids(NULL), which(NULL), argindex(NULL), value2index(NULL)
 {
   if (narg < 5) error->all(FLERR,"Illegal compute chunk/spread/atom command");
 
diff --git a/src/compute_chunk_spread_atom.h b/src/compute_chunk_spread_atom.h
index 9a4df080ca2d4de652f357f0a84c46f15fb260a7..80ee186450452fe885d433af30e369faa43bb8ba 100644
--- a/src/compute_chunk_spread_atom.h
+++ b/src/compute_chunk_spread_atom.h
@@ -35,9 +35,8 @@ class ComputeChunkSpreadAtom : public Compute {
  protected:
   int mode,nvalues;
   char *idchunk;
-
-  int *which,*argindex,*value2index;
   char **ids;
+  int *which,*argindex,*value2index;
 
   int nmax;
   class ComputeChunkAtom *cchunk;
diff --git a/src/compute_reduce_chunk.cpp b/src/compute_reduce_chunk.cpp
index 40e9dad8dd4f9a7fcb2177551b2489066f06bc61..beebc5f4115d7eaf5ca00425ca294918eda9602c 100644
--- a/src/compute_reduce_chunk.cpp
+++ b/src/compute_reduce_chunk.cpp
@@ -38,8 +38,8 @@ enum{COMPUTE,FIX,VARIABLE};
 
 ComputeReduceChunk::ComputeReduceChunk(LAMMPS *lmp, int narg, char **arg) :
   Compute(lmp, narg, arg),
-  vlocal(NULL), vglobal(NULL), alocal(NULL), aglobal(NULL), varatom(NULL),
-  which(NULL), argindex(NULL), value2index(NULL), idchunk(NULL), ids(NULL)
+  which(NULL), argindex(NULL), value2index(NULL), idchunk(NULL), ids(NULL),
+  vlocal(NULL), vglobal(NULL), alocal(NULL), aglobal(NULL), varatom(NULL)
 {
   if (narg < 6) error->all(FLERR,"Illegal compute reduce/chunk command");