Ignore:
Timestamp:
2016-06-01T23:17:40+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar - squid:S1854 - Dead stores should be removed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java

    r10303 r10308  
    398398
    399399        boolean newNode = false;
    400         Node n = null;
    401 
    402         n = Main.map.mapView.getNearestNode(mousePos, OsmPrimitive.isSelectablePredicate);
     400        Node n = Main.map.mapView.getNearestNode(mousePos, OsmPrimitive.isSelectablePredicate);
    403401        if (ctrl) {
    404402            Iterator<Way> it = getCurrentDataSet().getSelectedWays().iterator();
Note: See TracChangeset for help on using the changeset viewer.