mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
^KTIJ-21115 Fixed GitOrigin-RevId: 89614afe5b87b7e01810e45a71dc11bd4ccedd5c
11 lines
305 B
Kotlin
11 lines
305 B
Kotlin
// AFTER-WARNING: Parameter 's' is never used
|
|
// AFTER-WARNING: Variable 'hash' is never used
|
|
fun test(repo: Repository, commitMessage: String) {
|
|
val hash: String<caret>
|
|
repo.git("add --verbose .")
|
|
hash = repo.git("commit -m $commitMessage")
|
|
}
|
|
|
|
class Repository {
|
|
fun git(s: String) = ""
|
|
} |