Skip to content

Commit

Permalink
Fix an "unused" warning in Compiler
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=159473426
  • Loading branch information
tbreisacher authored and blickly committed Jun 19, 2017
1 parent a59fcd3 commit 8208fe3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/com/google/javascript/jscomp/Compiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -2110,7 +2110,8 @@ private List<CompilerInput> parsePotentialModules(List<CompilerInput> inputsToPr
}
for (CompilerInput input : filteredInputs) {
input.setCompiler(this);
Node root = input.getAstRoot(this);
// Call getAstRoot to force parsing to happen.
input.getAstRoot(this);
input.getRequires();
}
return filteredInputs;
Expand Down

0 comments on commit 8208fe3

Please sign in to comment.