Remove unused warnings

This commit is contained in:
Dale Wijnand 2016-11-16 11:14:42 +00:00
parent f6c98f69b9
commit 3192b3ee1a
No known key found for this signature in database
GPG Key ID: 4F256E3D151DF5EF
2 changed files with 2 additions and 3 deletions

View File

@ -14,7 +14,7 @@ class CachedResolutionSpec extends BaseIvySpecification {
)
val report = ivyUpdate(m)
cleanCachedResolutionCache(m)
val report2 = ivyUpdate(m)
val _ = ivyUpdate(m)
// first resolution creates the minigraph
println(report)
// second resolution reads from the minigraph
@ -57,7 +57,7 @@ class CachedResolutionSpec extends BaseIvySpecification {
Some("2.10.2"), UpdateOptions().withCachedResolution(true)
)
// first resolution creates the minigraph
val report0 = ivyUpdate(m)
val _ = ivyUpdate(m)
cleanCachedResolutionCache(m)
// second resolution reads from the minigraph
val report = ivyUpdate(m)

View File

@ -58,7 +58,6 @@ class IvyRepoSpec extends BaseIvySpecification with DependencyBuilders {
val clMod = {
import language.implicitConversions
implicit val key = (m: ModuleID) => (m.organization, m.name, m.revision)
val externalModules = Vector(dep)
// Note: need to extract ourModuleID so we can plug it in here, can't fish it back out of the IvySbt#Module (`m`)
GetClassifiersModule(ourModuleID, externalModules, Vector(Configurations.Compile), attemptedClassifiers)