diff --git a/src/USER-OMP/fix_nphug_omp.cpp b/src/USER-OMP/fix_nphug_omp.cpp
index b652cf563ab4437c7fe39e8d6ae8dac75b8ce449..bc3c2cdd5c5e79e2201d7106400ca3439ebfd293 100644
--- a/src/USER-OMP/fix_nphug_omp.cpp
+++ b/src/USER-OMP/fix_nphug_omp.cpp
@@ -34,7 +34,7 @@ enum{ISO,ANISO,TRICLINIC}; // same as fix_nh.cpp
 /* ---------------------------------------------------------------------- */
 
 FixNPHugOMP::FixNPHugOMP(LAMMPS *lmp, int narg, char **arg) :
-  FixNHOMP(lmp, narg, arg)
+  FixNHOMP(lmp, narg, arg), pe(NULL), id_pe(NULL)
 {
 
   // Prevent masses from being updated every timestep
diff --git a/src/USER-OMP/msm_cg_omp.cpp b/src/USER-OMP/msm_cg_omp.cpp
index 9f1ebba2a8e5b78dde0a678a076c87c004cf0596..fb64bc5644683f1490bd8e90b9d5f64cc91cb871 100644
--- a/src/USER-OMP/msm_cg_omp.cpp
+++ b/src/USER-OMP/msm_cg_omp.cpp
@@ -44,7 +44,8 @@ enum{FORWARD_RHO,FORWARD_AD,FORWARD_AD_PERATOM};
 
 /* ---------------------------------------------------------------------- */
 
-MSMCGOMP::MSMCGOMP(LAMMPS *lmp, int narg, char **arg) : MSMOMP(lmp, narg, arg)
+MSMCGOMP::MSMCGOMP(LAMMPS *lmp, int narg, char **arg) : MSMOMP(lmp, narg, arg),
+  is_charged(NULL)
 {
   if ((narg < 1) || (narg > 2))
     error->all(FLERR,"Illegal kspace_style msm/cg/omp command");
@@ -55,7 +56,6 @@ MSMCGOMP::MSMCGOMP(LAMMPS *lmp, int narg, char **arg) : MSMOMP(lmp, narg, arg)
   else smallq = SMALLQ;
 
   num_charged = -1;
-  is_charged = NULL;
 }
 
 /* ----------------------------------------------------------------------