From eb568d1a0c20d1f2991d89c92ad4f32291fc7c2c Mon Sep 17 00:00:00 2001 From: Manu Mtz-Almeida Date: Tue, 19 May 2015 00:48:19 +0200 Subject: [PATCH] Removes debug variables --- gin.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gin.go b/gin.go index 67fe746..687c4c3 100644 --- a/gin.go +++ b/gin.go @@ -180,8 +180,7 @@ func (engine *Engine) RunUnix(file string) (err error) { defer func() { debugPrintError(err) }() os.Remove(file) - listener, err2 := net.Listen("unix", file) - err = err2 + listener, err := net.Listen("unix", file) if err != nil { return }