Removes debug variables

This commit is contained in:
Manu Mtz-Almeida 2015-05-19 00:48:19 +02:00
parent cd6e95f0e4
commit eb568d1a0c

3
gin.go
View File

@ -180,8 +180,7 @@ func (engine *Engine) RunUnix(file string) (err error) {
defer func() { debugPrintError(err) }() defer func() { debugPrintError(err) }()
os.Remove(file) os.Remove(file)
listener, err2 := net.Listen("unix", file) listener, err := net.Listen("unix", file)
err = err2
if err != nil { if err != nil {
return return
} }