diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-14 12:57:40 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-14 12:57:40 -0400 |
commit | 1abb875c62e9d828c3cb9e90697cd9f35a1ea1ff (patch) | |
tree | b3d4db145e3f791400b9b59bfe00ebb6129ad65d | |
parent | 317ac622459c877406fde4dcd8ba38089afe99d4 (diff) |
remove dead assignments
-rw-r--r-- | nslcd_systemd/nslcd_systemd.go | 2 |
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") |