summaryrefslogtreecommitdiff
path: root/nslcd_systemd
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-05-14 12:57:40 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-14 12:57:40 -0400
commit1abb875c62e9d828c3cb9e90697cd9f35a1ea1ff (patch)
treeb3d4db145e3f791400b9b59bfe00ebb6129ad65d /nslcd_systemd
parent317ac622459c877406fde4dcd8ba38089afe99d4 (diff)
remove dead assignments
Diffstat (limited to 'nslcd_systemd')
-rw-r--r--nslcd_systemd/nslcd_systemd.go2
1 files changed, 0 insertions, 2 deletions
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")