Remove an unused StarlarkSemantics variable.
@@ -237,11 +237,6 @@ public class PackageLookupFunction implements SkyFunction {
Transience.PERSISTENT);
}
- StarlarkSemantics starlarkSemantics = PrecomputedValue.STARLARK_SEMANTICS.get(env);
- if (starlarkSemantics == null) {
- return null;
- }
-
if (localRepository.exists()
&& !localRepository.getRepository().equals(packageIdentifier.getRepository())) {
// There is a repository mismatch, this is an error.
