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:
Loïc Minier
2025-09-04 14:00:17 +00:00
committed by Dylan Aïssi
parent dbd721e41d
commit fe573bbeac

View File

@@ -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++