// AFTER-WARNING: Parameter 's' is never used // AFTER-WARNING: Variable 'hash' is never used fun test(repo: Repository, commitMessage: String) { repo.git("add --verbose .") val hash: String = repo.git("commit -m $commitMessage") } class Repository { fun git(s: String) = "" }