mirror of
https://github.com/outbackdingo/debos.git
synced 2026-01-27 10:18:47 +00:00
fix: Omit redundant type from variable declaration (QF1011)
Reported by staticcheck Signed-off-by: Loïc Minier <loic.minier@oss.qualcomm.com>
This commit is contained in:
@@ -823,7 +823,7 @@ func (i *ImagePartitionAction) Verify(context *debos.DebosContext) error {
|
||||
|
||||
num := 1
|
||||
for idx := range i.Partitions {
|
||||
var maxLength int = 0
|
||||
var maxLength = 0
|
||||
p := &i.Partitions[idx]
|
||||
p.number = num
|
||||
num++
|
||||
|
||||
Reference in New Issue
Block a user