--- branches/development/src/restraints/ObjectRestraint.cpp 2011/11/22 20:38:56 1665 +++ branches/development/src/restraints/ObjectRestraint.cpp 2012/07/06 22:01:58 1767 @@ -71,13 +71,12 @@ namespace OpenMD { Quat4d quat = temp.toQuaternion(); - RealType twistAngle, swingAngle; + RealType twistAngle; Vector3d swingAxis; RealType swingX, swingY; quat.toSwingTwist(swingX, swingY, twistAngle); - RealType dVdtwist, dVdswingX, dVdswingY; RealType dTwist, dSwingX, dSwingY; RealType p;