JAL-192 JAL-2099 unused variables
[jalview.git] / src / jalview / renderer / ScaleRenderer.java
index d91ea74..52778d5 100644 (file)
@@ -49,7 +49,7 @@ public class ScaleRenderer
     int scalestartx = (startx / 10) * 10;
 
     SequenceI refSeq = av.getAlignment().getSeqrep();
-    int refSp = 0, refEp = -1, refStart = 0, refEnd = -1, refStartI = 0, refEndI = -1;
+    int refSp = 0, refStartI = 0, refEndI = -1;
     if (refSeq != null)
     {
       // find bounds and set origin appopriately
@@ -58,9 +58,6 @@ public class ScaleRenderer
               .locateVisibleBoundsOfSequence(refSeq);
 
       refSp = refbounds[0];
-      refEp = refbounds[1];
-      refStart = refbounds[2];
-      refEnd = refbounds[3];
       refStartI = refbounds[4];
       refEndI = refbounds[5];
       scalestartx = refSp + ((scalestartx - refSp) / 10) * 10;
@@ -72,7 +69,7 @@ public class ScaleRenderer
     }
     List<Object[]> marks = new ArrayList<Object[]>();
     String string;
-    int maxX = 0, refN, iadj;
+    int refN, iadj;
     // todo: add a 'reference origin column' to set column number relative to
     for (int i = scalestartx; i < endx; i += 5)
     {