Skip to content

Commit

Permalink
(Update-Fix) #23 useless code removal
Browse files Browse the repository at this point in the history
  • Loading branch information
Omar Waldmann committed Jun 8, 2017
1 parent 388a957 commit ebe1bbd
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions fr.cnes.analysis.tools.shell.metrics/lex/SHMETNesting.lex
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import java.io.File;
import java.util.LinkedList;
import java.util.List;


import org.eclipse.core.runtime.Path;

import fr.cnes.analysis.tools.analyzer.datas.AbstractChecker;
Expand Down Expand Up @@ -101,12 +102,6 @@ IGNORE = "EOF" [^]* "EOF"

%}

%eofval{
final List<FunctionValue> list = this.fileValue.getFunctionValues();
list.add(new FunctionValue("MAIN PROGRAM", numMaxImbrics, functionLine+1));
fileValue.setValue(numImbricsTotal);
return fileValue;
%eofval}
%eofval{
this.computeMetric("MAIN PROGRAM", numMaxImbrics, functionLine+1);
this.computeMetric(null, numImbricsTotal, 0);
Expand Down

0 comments on commit ebe1bbd

Please sign in to comment.