diff --git a/src/fix_spring.cpp b/src/fix_spring.cpp index fd1db5749fba19f4843874cdd2643e10f2bd1293..9c6bd4084ffe53c568bd5edefe9ba0ecd4517bde 100644 --- a/src/fix_spring.cpp +++ b/src/fix_spring.cpp @@ -52,8 +52,6 @@ FixSpring::FixSpring(LAMMPS *lmp, int narg, char **arg) : respa_level_support = 1; ilevel_respa = 0; - group2 = NULL; - if (strcmp(arg[3],"tether") == 0) { if (narg != 9) error->all(FLERR,"Illegal fix spring command"); styleflag = TETHER; diff --git a/src/fix_spring_chunk.cpp b/src/fix_spring_chunk.cpp index 16b3d7939e47f90780c99f183a2c8189d4e98755..773e032388b225fc1590c37b7f715116ebb4106a 100644 --- a/src/fix_spring_chunk.cpp +++ b/src/fix_spring_chunk.cpp @@ -34,7 +34,8 @@ using namespace FixConst; /* ---------------------------------------------------------------------- */ FixSpringChunk::FixSpringChunk(LAMMPS *lmp, int narg, char **arg) : - Fix(lmp, narg, arg) + Fix(lmp, narg, arg), + idchunk(NULL), idcom(NULL), com0(NULL), fcom(NULL) { if (narg != 6) error->all(FLERR,"Illegal fix spring/chunk command"); @@ -55,7 +56,6 @@ FixSpringChunk::FixSpringChunk(LAMMPS *lmp, int narg, char **arg) : strcpy(idcom,arg[5]); esprings = 0.0; - com0 = fcom = NULL; nchunk = 0; } diff --git a/src/fix_spring_self.cpp b/src/fix_spring_self.cpp index 9517cf0c316bdcb4d0bacb432937116717869dcb..b6d5e3c834d48a585658acf09999ae814c844199 100644 --- a/src/fix_spring_self.cpp +++ b/src/fix_spring_self.cpp @@ -32,7 +32,8 @@ using namespace FixConst; /* ---------------------------------------------------------------------- */ FixSpringSelf::FixSpringSelf(LAMMPS *lmp, int narg, char **arg) : - Fix(lmp, narg, arg) + Fix(lmp, narg, arg), + xoriginal(NULL) { if ((narg < 4) || (narg > 5)) error->all(FLERR,"Illegal fix spring/self command"); diff --git a/src/fix_store.cpp b/src/fix_store.cpp index cf2553ed08789bf476c337cf78cb18e09a5711f6..abfceda2645d25e58bba873be08fd0fd005a43bb 100644 --- a/src/fix_store.cpp +++ b/src/fix_store.cpp @@ -27,7 +27,8 @@ enum{UNKNOWN,GLOBAL,PERATOM}; /* ---------------------------------------------------------------------- */ -FixStore::FixStore(LAMMPS *lmp, int narg, char **arg) : Fix(lmp, narg, arg) +FixStore::FixStore(LAMMPS *lmp, int narg, char **arg) : Fix(lmp, narg, arg), +vstore(NULL), astore(NULL), rbuf(NULL) { if (narg != 6) error->all(FLERR,"Illegal fix store command"); diff --git a/src/fix_store_force.cpp b/src/fix_store_force.cpp index f0852092871c716a547711b96969c1e744904413..cfeace532627c68a28ddf00a5c8e9a09cffa8f6d 100644 --- a/src/fix_store_force.cpp +++ b/src/fix_store_force.cpp @@ -26,7 +26,8 @@ using namespace FixConst; /* ---------------------------------------------------------------------- */ FixStoreForce::FixStoreForce(LAMMPS *lmp, int narg, char **arg) : - Fix(lmp, narg, arg) + Fix(lmp, narg, arg), + foriginal(NULL) { if (narg < 3) error->all(FLERR,"Illegal fix store/coord command"); diff --git a/src/fix_store_state.cpp b/src/fix_store_state.cpp index 1c253384e44e41b4cd1103c5185a03a4361b825a..e6f3b59d83170a1072bb884e731b8c3147f638d4 100644 --- a/src/fix_store_state.cpp +++ b/src/fix_store_state.cpp @@ -37,7 +37,9 @@ enum{KEYWORD,COMPUTE,FIX,VARIABLE,DNAME,INAME}; /* ---------------------------------------------------------------------- */ FixStoreState::FixStoreState(LAMMPS *lmp, int narg, char **arg) : - Fix(lmp, narg, arg) + Fix(lmp, narg, arg), + nvalues(0), which(NULL), argindex(NULL), value2index(NULL), ids(NULL), values(NULL), + vbuf(NULL), pack_choice(NULL) { if (narg < 5) error->all(FLERR,"Illegal fix store/state command"); diff --git a/src/fix_temp_berendsen.cpp b/src/fix_temp_berendsen.cpp index bb86eb486606d5e438bba2482352175abecd0310..aff9a44977606a1b46716bed2f3e1b47f3b729ff 100644 --- a/src/fix_temp_berendsen.cpp +++ b/src/fix_temp_berendsen.cpp @@ -35,7 +35,8 @@ enum{CONSTANT,EQUAL}; /* ---------------------------------------------------------------------- */ FixTempBerendsen::FixTempBerendsen(LAMMPS *lmp, int narg, char **arg) : - Fix(lmp, narg, arg) + Fix(lmp, narg, arg), + tstr(NULL), id_temp(NULL), tflag(0) { if (narg != 6) error->all(FLERR,"Illegal fix temp/berendsen command");