From 1abb875c62e9d828c3cb9e90697cd9f35a1ea1ff Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 14 May 2017 12:57:40 -0400 Subject: remove dead assignments --- nslcd_systemd/nslcd_systemd.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'nslcd_systemd') diff --git a/nslcd_systemd/nslcd_systemd.go b/nslcd_systemd/nslcd_systemd.go index 1073249..cf12760 100644 --- a/nslcd_systemd/nslcd_systemd.go +++ b/nslcd_systemd/nslcd_systemd.go @@ -52,8 +52,6 @@ type Backend interface { } func get_socket() (socket net.Listener, err error) { - socket = nil - err = nil fds := sd_daemon.ListenFds(true) if fds == nil { err = fmt.Errorf("Failed to aquire sockets from systemd") -- cgit v1.2.3-2-g168b