remove unused class members and silence compiler warnings

This commit is contained in:
Axel Kohlmeyer
2023-09-24 23:08:59 -04:00
parent b2f62bbd1a
commit 29989f102a
9 changed files with 21 additions and 17 deletions

View File

@ -19,7 +19,11 @@
#include "library.h"
#endif
LammpsWrapper::LammpsWrapper() : lammps_handle(nullptr), plugin_handle(nullptr) {}
LammpsWrapper::LammpsWrapper() : lammps_handle(nullptr) {
#if defined(LAMMPS_GUI_USE_PLUGIN)
plugin_handle = nullptr;
#endif
}
void LammpsWrapper::open(int narg, char **args)
{