Explorar o código

windows: remove unreachable return statement in Proc.Call

Change-Id: I5bb10469bab144f5e42c7bcf6ee8717d3fd0d4e4
Reviewed-on: https://go-review.googlesource.com/47337
Reviewed-by: Matt Layher <mdlayher@gmail.com>
Run-TryBot: Matt Layher <mdlayher@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Awn %!s(int64=8) %!d(string=hai) anos
pai
achega
94b76065f2
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      windows/dll_windows.go

+ 0 - 1
windows/dll_windows.go

@@ -160,7 +160,6 @@ func (p *Proc) Call(a ...uintptr) (r1, r2 uintptr, lastErr error) {
 	default:
 	default:
 		panic("Call " + p.Name + " with too many arguments " + itoa(len(a)) + ".")
 		panic("Call " + p.Name + " with too many arguments " + itoa(len(a)) + ".")
 	}
 	}
-	return
 }
 }
 
 
 // A LazyDLL implements access to a single DLL.
 // A LazyDLL implements access to a single DLL.