Commit 3e002efe authored by Jeffrey Covington's avatar Jeffrey Covington
Browse files

Removed unreachable code in crop. Fixes #2116

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@6036 41f8697f-d340-4b68-9986-7bafba869bb8
parent 96af40d7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -85,8 +85,8 @@ void IsisMain() {
  ns = ceil((double)(es - ss + 1) / sinc);
  nl = ceil((double)(el - sl + 1) / linc);
  nb = eb;
  if (ns == 0) ns = 1;
  if (nl == 0) nl = 1;
  //if (ns == 0) ns = 1;
  //if (nl == 0) nl = 1;
  es = ss + (ns - 1) * sinc;
  el = sl + (nl - 1) * linc;

+3 −0
Original line number Diff line number Diff line
@@ -309,6 +309,9 @@ End_Group
     <change name="Ella Mae Lee" date="2014-04-02">
      Updated the documentation, fixes #1622 and #1688.
    </change>
    <change name="Jeffrey Covington" date="2015-01-15">
      Removed unreachable code.
    </change>
  </history>

  <oldName>