warnings
authorBill Kuker <bkuker@billkuker.com>
Sat, 30 Oct 2010 18:13:09 +0000 (18:13 +0000)
committerBill Kuker <bkuker@billkuker.com>
Sat, 30 Oct 2010 18:13:09 +0000 (18:13 +0000)
gui/com/billkuker/rocketry/motorsim/visual/workbench/WorkbenchTreeModel.java

index 1745d6e9d5b203979089aa5aebcccb6ec1c68ff1..aa942c6e5445cd5ae60b38dc994105d1b08f4010 100644 (file)
@@ -150,7 +150,6 @@ public class WorkbenchTreeModel extends DefaultTreeModel {
        }
        
        public void addMotor(Motor m){
-               DefaultMutableTreeNode root = getRoot();
                motors.add(new MotorNode(m));
                nodesWereInserted(motors, new int[]{motors.getChildCount()-1});