Skip to content

Commit

Permalink
Fix the compiler warning about large object size
Browse files Browse the repository at this point in the history
  • Loading branch information
baoilleach committed May 8, 2020
1 parent 410140d commit b14a330
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3167,7 +3167,8 @@ namespace OpenBabel
_c = NULL;
for (atom = BeginAtom(i);atom;atom = NextAtom(i))
atom->ClearCoordPtr();
_vconf.resize(_vconf.size()-1);
if (_vconf.size() > 0)
_vconf.resize(_vconf.size()-1);
}

if (_c != NULL)
Expand Down

0 comments on commit b14a330

Please sign in to comment.