From 1e34a115e48fa10e8998e59d0c86e85d0d1efa88 Mon Sep 17 00:00:00 2001 From: Eric Berquist Date: Sun, 30 Apr 2023 19:14:13 -0400 Subject: [PATCH] Remove unused variables Signed-off-by: Eric Berquist --- avogadro/qtplugins/symmetry/symmetry.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/avogadro/qtplugins/symmetry/symmetry.cpp b/avogadro/qtplugins/symmetry/symmetry.cpp index 05d65feddb..44985f4d85 100644 --- a/avogadro/qtplugins/symmetry/symmetry.cpp +++ b/avogadro/qtplugins/symmetry/symmetry.cpp @@ -183,15 +183,14 @@ void Symmetry::detectSymmetry() // interface with libmsym msym_error_t ret = MSYM_SUCCESS; msym_element_t* elements = nullptr; - const char* error = nullptr; char point_group[6]; - double cm[3], radius = 0.0, symerr = 0.0; + double cm[3], radius = 0.0; /* Do not free these variables */ const msym_symmetry_operation_t* msops = nullptr; const msym_subgroup_t* msg = nullptr; const msym_equivalence_set_t* mes = nullptr; - int mesl = 0, msgl = 0, msopsl = 0, mlength = 0; + int mesl = 0, msgl = 0, msopsl = 0; // initialize the c-style array of atom names and coordinates msym_element_t* a;