Browse Source

windows/svc/mgr: gofmt -w -s

Change-Id: I4ef179aacaf0694cd7661b4d9972ce85abeee8df
Reviewed-on: https://go-review.googlesource.com/43470
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Mikio Hara 8 years ago
parent
commit
98b5b1e7e8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      windows/svc/mgr/service.go

+ 1 - 1
windows/svc/mgr/service.go

@@ -39,7 +39,7 @@ func (s *Service) Start(args ...string) error {
 	var p **uint16
 	if len(args) > 0 {
 		vs := make([]*uint16, len(args))
-		for i, _ := range vs {
+		for i := range vs {
 			vs[i] = syscall.StringToUTF16Ptr(args[i])
 		}
 		p = &vs[0]