remove redundant variable
This commit is contained in:
parent
b75bcf5338
commit
f25a28d11a
1 changed files with 0 additions and 6 deletions
|
@ -61,7 +61,6 @@ open class Prov protected constructor(
|
|||
}
|
||||
|
||||
private var level = 0
|
||||
private var previousLevel = 0
|
||||
private var exit = false
|
||||
private var runInContainerWithName: String? = null
|
||||
|
||||
|
@ -270,7 +269,6 @@ open class Prov protected constructor(
|
|||
// init
|
||||
if (level == 0) {
|
||||
internalResults.clear()
|
||||
previousLevel = -1
|
||||
exit = false
|
||||
initProgress()
|
||||
|
||||
|
@ -283,8 +281,6 @@ open class Prov protected constructor(
|
|||
val internalResult = ResultLine(level, taskName, null)
|
||||
internalResults.add(internalResult)
|
||||
|
||||
previousLevel = level
|
||||
|
||||
level++
|
||||
|
||||
// call the actual task lambda
|
||||
|
@ -329,8 +325,6 @@ open class Prov protected constructor(
|
|||
ProvResult(false, err = "mode unknown")
|
||||
}
|
||||
|
||||
previousLevel = level
|
||||
|
||||
internalResults[resultIndex].provResult = returnValue
|
||||
|
||||
// Add failure result to output if not yet included,
|
||||
|
|
Loading…
Add table
Reference in a new issue