         self.frame = CGRect(x: newX, y: newY, width: newWidth, height: newHeight);
     }
     
-    fileprivate func translateUsingTouchLoc(_ touchPoint: CGPoint) {
+    private func translateUsingTouchLoc(_ touchPoint: CGPoint) {
         guard let touchStart = touchStart,
-            let superview = superview else
+            let _ = superview else
         {
             assertionFailure("touchStart & superview should be present")
             return

        return boundHeight
    }
    
    fileprivate func resizeUsingTouchLoc(_ touchPoint: CGPoint) {
        var touchPoint = touchPoint
        if let anchor = curAnchor, let touchStart = touchStart {
            // (1) Update the touch point if we're outside the superview.

        return smallestDist < centerDist * resizeDistanceToCenterFactor ? closestAnchor : noAnchor
    }
    
    private func superviewContentWidth() -> CGFloat {
        guard let superview = superview else {
            return 0
        }
