summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Bull2013-09-03 14:33:53 (EDT)
committerIan Bull2013-09-03 14:33:53 (EDT)
commit39e4ff05ce7d54a83834454e81f1dc3083ca94d5 (patch)
tree53e9e04110bcc51fea2d1f85550ea57120e2ecd5
parent398732df8237f65813b17124561fa7526ddc8e2e (diff)
downloadrt.equinox.p2-39e4ff05ce7d54a83834454e81f1dc3083ca94d5.zip
rt.equinox.p2-39e4ff05ce7d54a83834454e81f1dc3083ca94d5.tar.gz
rt.equinox.p2-39e4ff05ce7d54a83834454e81f1dc3083ca94d5.tar.bz2
Bug 381673 - 16 compile warnings in official build
Removed an unused variable.
-rw-r--r--bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/OptimizationFunction.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/OptimizationFunction.java b/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/OptimizationFunction.java
index c29fe88..fb939a8 100644
--- a/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/OptimizationFunction.java
+++ b/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/OptimizationFunction.java
@@ -104,7 +104,6 @@ public class OptimizationFunction {
maxWeight = maxWeight.multiply(POWER).add(BigInteger.ONE);
//Now we deal the optional IUs,
- BigInteger optionalWeight = maxWeight.negate();
long countOptional = 1;
List<IInstallableUnit> requestedPatches = new ArrayList<IInstallableUnit>();
Collection<IRequirement> reqs = metaIu.getRequirements();