Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Berquist <[email protected]>
  • Loading branch information
berquist committed May 1, 2023
1 parent 0d49467 commit 1e34a11
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions avogadro/qtplugins/symmetry/symmetry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1e34a11

Please sign in to comment.