From 079134255d985807117e437865db64d02534430f Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 29 Oct 2018 03:49:25 -0400 Subject: [PATCH] make sure class member "list" is initialized to NULL in constructor --- src/compute_adf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compute_adf.cpp b/src/compute_adf.cpp index 6e6239f076..e339db786b 100644 --- a/src/compute_adf.cpp +++ b/src/compute_adf.cpp @@ -51,7 +51,7 @@ ComputeADF::ComputeADF(LAMMPS *lmp, int narg, char **arg) : iatomflag(NULL), jatomflag(NULL), rcutinnerj(NULL), rcutouterj(NULL), katomflag(NULL), rcutinnerk(NULL), rcutouterk(NULL), - maxjatom(NULL), numjatom(NULL), neighjatom(NULL), + list(NULL), maxjatom(NULL), numjatom(NULL), neighjatom(NULL), maxkatom(NULL), numkatom(NULL), neighkatom(NULL), maxjkatom(NULL), numjkatom(NULL), neighjkatom(NULL), bothjkatom(NULL) {