File tree 1 file changed +0
-3
lines changed
1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ func (f *WincFlasher) FlashFirmware(firmwareFile *paths.Path, flasherOut io.Writ
79
79
80
80
func (f * WincFlasher ) FlashCertificates (certificatePaths * paths.PathList , URLs []string , flasherOut io.Writer ) error {
81
81
var certificatesData []byte
82
- certificatesNumber := 0
83
82
for _ , certPath := range * certificatePaths {
84
83
logrus .Infof ("Converting and flashing certificate %s" , certPath )
85
84
flasherOut .Write ([]byte (fmt .Sprintf ("Converting and flashing certificate %s\n " , certPath )))
@@ -89,7 +88,6 @@ func (f *WincFlasher) FlashCertificates(certificatePaths *paths.PathList, URLs [
89
88
return err
90
89
}
91
90
certificatesData = append (certificatesData , data ... )
92
- certificatesNumber ++
93
91
}
94
92
95
93
for _ , URL := range URLs {
@@ -100,7 +98,6 @@ func (f *WincFlasher) FlashCertificates(certificatePaths *paths.PathList, URLs [
100
98
return err
101
99
}
102
100
certificatesData = append (certificatesData , data ... )
103
- certificatesNumber ++
104
101
}
105
102
106
103
certificatesOffset := 0x4000
You can’t perform that action at this time.
0 commit comments